Linux Device Drivers Major-Minor Numbers Questions & Answers for Freshers

1. The major number identifies the _____ associated with the device. a) driver b) protocol c) port d) none of the mentioned Answer: a ...

1. The major number identifies the _____ associated with the device.

a) driver
b) protocol
c) port
d) none of the mentioned
Answer: a
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
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
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
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
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
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
Answer: b
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
9. The kernel identifies the driver with its

a) module
b) major number
c) device file
d) none of the mentioned
Answer: b
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

Related

Computer Fundamentals Multiple choice Questions and Answers on Assembly Languages for Freshers

1. Each personal computer has a _________ that manages the computer’s arithmetical, logical and control activities. a) Microprocessorb) Assemblerc) Microcontrollerd) Interpreter Answer: a Explana...

multiple choice Questions and Answers on Mobile Cloud of Cloud Computing for Freshers

1. Which of the following mobile platform support hundreds of thousands of third-party applications ? a) iPhoneb) Symbianc) Windows Mobile Phoned) None of the mentioned Answer: a Explanation: The...

Computer Fundamentals Multiple choice Questions and Answers on Machine Languages for Freshers

1. The language made up of binary coded instructions. a) Machineb) Cc) BASICd) High level Answer: a Explanation: The language made up of binary coded instructions built into the hardware of a par...

Post a Comment

emo-but-icon
:noprob:
:smile:
:shy:
:trope:
:sneered:
:happy:
:escort:
:rapt:
:love:
:heart:
:angry:
:hate:
:sad:
:sigh:
:disappointed:
:cry:
:fear:
:surprise:
:unbelieve:
:shit:
:like:
:dislike:
:clap:
:cuff:
:fist:
:ok:
:file:
:link:
:place:
:contact:

item