1. The directories of /sys directory
a) are created at system startup when the subsystems register themselves with kobject core
b) are created when any device is connects with the system
c) are created at the time of kernel compilation
d) none of the mentioned
View Answer
Explanation: None.
2. The directory /sys/block contains
a) sub-directories for each block device
b) symbolic link for each block device only
c) device file for each block device only
d) none of the mentioned
View Answer
Explanation: None.
3. In sysfs, each represented bus type has two directories named as
a) attributes and kobjects
b) devices and drivers
c) devices and kobjects
d) none of the mentioned
View Answer
Explanation: None.
4. A device class describes the ____ type of device.
a) physical
b) stuctural
c) functional
d) none of the mentioned
View Answer
Explanation: None.
5. Which one of the following directory contains every physical device that has been discovered by the bus types registered with the kernel?
a) /sys/devices
b) /sys/bus/devices
c) /devices
d) none of the mentioned
View Answer
Explanation: None.
6. Which type of devices are peripheral devices?
a) platform devices
b) system devices
c) both system and platform devices
d) none of the mentioned
View Answer
Explanation: None.
7. Which one of the following is not a system device?
a) CPU
b) APIC
c) Timer
d) None of the mentioned
View Answer
Explanation: None.
8. Which one of the following is not a platform specific code?
a) x86 BIOS
b) EFI on ia64
c) both x86 BIOS and EFI on ia64
d) none of the mentioned
View Answer
Explanation: None.
9. In device driver model bus_type object contains the
a) name of the bus type
b) set of kobjects of the drivers
c) set of kobjects of the devices
d) all of the mentioned
View Answer
Explanation: None.
10. The file fs/sysfs/sysfs.h contains the
a) internal header files for sysfs
b) function definitions will not shared locally among the sysfs source
c) all of the mentioned
d) none of the mentioned
View Answer
Explanation: None.
Sanfoundry Global Education & Learning Series – Linux Administration & Programming.
Here’s the list of Best Books in Linux Commands & Shell Programming.
Here’s the list of Best Books in Linux Kernel, Device-Drivers & System Programming.
To practice all questions on Linux Administration & Programming, here is complete set of 1000+ Multiple Choice Questions and Answers on Linux.
If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]
- Practice Programming MCQs
- Check Information Technology Books
- Apply for Programming Internship
- Check Linux Books