⟩ The statement z = 'expr 5 / 2′ would store which of the following values in z? a) 0 b) 1 c) 2 d) 2.5 e) 3
c) 2
c) 2
The channel between the processor and devices is called? a) bus b) driver c) class d) none of the mentioned
Each driver in the device driver model is described by a ______ object. a) dev_d b) device_d c) dev_driver d) device_driver
Each device in the device driver model is represented by a _____ object. a) driver b) device c) node d) none of the mentioned
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