Linux Device Drivers Major-Minor Numbers Questions & Answers

DigitalOcean Referral Badge DigitalOcean Referral Badge

1.

The major number identifies the _____ associated with the device.

   A.) driver
   B.) protocol
   C.) port
   D.) none of these

Answer: Option 'A'

driver

DigitalOcean Referral Badge

2.

The minor number range should be

   A.) 0 to 15
   B.) 0 to 63
   C.) 0 to 255
   D.) none of these

Answer: Option 'C'

0 to 255

DigitalOcean Referral Badge

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 these

Answer: Option 'C'

dynamic allocation of major numbers is not possible & also major number can not be shared among drivers

DigitalOcean Referral Badge

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 these

Answer: Option 'C'

256 character drivers and 256 block drivers at the same time

DigitalOcean Referral Badge
    DigitalOcean Referral Badge DigitalOcean Referral Badge

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 these

Answer: Option 'A'

N

DigitalOcean Referral Badge

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 these

Answer: Option 'A'

minor number will be different for every device file

DigitalOcean Referral Badge

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 these

Answer: Option 'B'

number of device file

DigitalOcean Referral Badge

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 these

Answer: Option 'A'

represnt the sub-functionalitites of the driver

DigitalOcean Referral Badge

9.

The kernel identifies the driver with its

   A.) module
   B.) major number
   C.) device file
   D.) none of these

Answer: Option 'B'

major number

DigitalOcean Referral Badge
    DigitalOcean Referral Badge DigitalOcean Referral Badge

10.

In linux, a device driver can work without the

   A.) major number
   B.) minor number
   C.) device file name
   D.) none of these

Answer: Option 'D'

none of these

DigitalOcean Referral Badge

Linux Device Drivers Major-Minor Numbers Questions & Answers Download Pdf

Recent Posts