250+ TOP MCQs on Linux Device Drivers Major-Minor Numbers and Answers

Linux questions and answers focuses on Major-Minor numbers used by the Linux Device Drivers.1. The major number identifies the _____ associated with the device.
a) driver
b) protocol
c) port
d) none of the mentioned

Answer: a
Clarification: None.

2. The minor number range should be
a) 0 to 15
b) 0 to 63
c) 0 to 255
d) none of the mentioned

Answer: c
Clarification: None.

3. Which one of the following is not true?
a) dynamic allocation of major numbers is not possible
b) major number can not be shared among drivers
c) dynamic allocation of major numbers is not possible & also major number can not be shared among drivers
d) none of the mentioned

Answer: c
Clarification: None.

4. In linux kernel 2.4, we can have
a) 256 character drivers only
b) 256 block drivers only
c) 256 character drivers and 256 block drivers at the same time
d) none of the mentioned

Answer: c
Clarification: c

5. In we use a driver for N number of files, then we have to create ____ device files.
a) N
b) 1
c) N-1
d) None of the mentioned

Answer: a
Clarification: None.

6. If we use a driver for various device files, then
a) minor number will be different for every device file
b) minor number will be same for every device file
c) minor number can not be allocated for any device file
d) none of the mentioned

Answer: a
Clarification: None.

7. The connection between the device file and device driver is based on the
a) name of device file
b) number of device file
c) name & number of device file
d) none of the mentioned

  250+ TOP MCQs on Built-in Commands and Answers

Answer: b
Clarification: None.

8. In linux kernel 2.1, the minor numbers were used to
a) represnt the sub-functionalitites of the driver
b) identify the driver
c) represent the device files
d) none of the mentioned

Answer: a
Clarification: None.

9. The kernel identifies the driver with its
a) module
b) major number
c) device file
d) none of the mentioned

Answer: b
Clarification: None.

10. In linux, a device driver can work without the
a) major number
b) minor number
c) device file name
d) none of the mentioned

Answer: d
Clarification: None.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top