Podcast
Questions and Answers
Why is a device typically only accessible in kernel mode?
Why is a device typically only accessible in kernel mode?
- To improve the performance of the device
- To reduce the complexity of the device driver
- To allow user processes to directly access the device
- To prevent improper access that could crash the machine (correct)
What is the primary goal of device drivers?
What is the primary goal of device drivers?
- To optimize the performance of the device
- To provide a direct interface to the device for user processes
- To present a different interface to each user process
- To simplify the software developer's job by presenting a uniform interface (correct)
What is a common challenge when dealing with different devices?
What is a common challenge when dealing with different devices?
- They can only be accessed in user mode
- They all have the same programming interface
- They require a uniform interface to be presented to the kernel
- They rarely have the same programming interface (correct)
Why are device drivers typically part of the kernel?
Why are device drivers typically part of the kernel?
What is the primary advantage of having a uniform interface for devices?
What is the primary advantage of having a uniform interface for devices?