⟩ The expression expr -9 % 2 evaluates to a) 0 b) 1 c) -1 d) 2
c) -1
c) -1
Which one of the following is a read-write semaphore in linux that protects all ksets and kobjects included in the filesystem? a) rwsem b) rwsemaphore c) rws d) none of the mentioned
The kset contains a) pointer to subsystem descriptor b) pointer to the kobject type descriptor of the kset c) head of the kobjects included in the kset d) all of the mentioned
The core data structure of device driver model is a) kobject b) kfile c) kmodule d) none of the mentioned
What is the main role of the regular files in the sysfs? a) regular files represent the attributes of devices and drivers b) regular files represent the kernel objects c) regular files represent the kernel sets d) none of the mentioned
Relationship between components of device driver models are expressed in the sysfs as a) a directory b) a regular file c) symbolic links between files and directories d) none of the mentioned
When a device is removed from the system a) files and directories of that device in the sysfs are removed automatically b) all the files of sysfs are preserved until the system turn offs c) it does not create any change in the sysfs d) none of the mentioned
A ____ is a higher level view of a device that abstracts out low level implementation details/ a) inode b) class b) major number d) minor number
In the device driver model the device_driver object contains the a) name of the device driver b) embedded kobjects c) method for probing a device d) all of the mentioned
Which one of the following is a notification to user space from the kernel that something has changed in the system's configuration? a) hotplug event b) module event c) attach event d) none of the mentioned
In sysfs every subsystem has a) a shared attribute structure b) its own attribute structure c) both (a) and (b) d) none of the mentioned