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

Data Structure Multiple Choice Questions and Answers on Doubly Linked List

1. Which of the following is false about a doubly linked list? a) We can navigate in both the directionsb) It requires more space than a singly linked listc) The insertion and deletion of a node ta...

Actionscript Objective Questions for Interviews

Top Most Actionscript Objective Questions 1. What keyword brings control out of a loop A. splitB. breakC. endD. stop Ans B 2. Read the following code var str1String = foobar; var str2String = he...

Data Structure Objective Type Questions and Answers on Circular Linked List

1. What differentiates a circular linked list from a normal linked list? a) You cannot have the ‘next’ pointer point to null in a circular linked listb) It is faster to traverse the circular linked...

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