CS FundamentalsHardGATE CS
How many of these statements about microkernels are correct? 1. Device drivers and file systems typically run in user space as servers. 2. They usually need more message passing / context switches than monolithic kernels for the same service. 3. A bug in a user-space driver need not crash the whole system. 4. Linux is a microkernel.
- A. 2
- B. 4
- C. 1
- D. 3
Correct answer: D. 3
1–3 describe microkernels (e.g. QNX, MINIX 3, seL4). Linux is a monolithic kernel with loadable modules, so 4 is false.
More Operating Systems questions
- What is the purpose of the dual-mode (user/kernel) bit together with a timer interrupt?
- A system call such as getpid() costs about 100 ns, while a plain function call costs about 2 ns. Which is the main reason?
- In which order does the long-term, medium-term and short-term scheduler act on a process, and which one runs most frequently?
- Which scheduling algorithm can be implemented as a special case of priority scheduling where priority = 1 / (predicted next CPU burst)?
- Which scheduling algorithms can lead to STARVATION? 1. FCFS 2. Non-preemptive SJF 3. SRTF 4. Round Robin 5. Priority without aging
- A system uses Round Robin with quantum q. As q → ∞ it becomes FCFS. What does it approach as q → 0 (ignoring switch overhead)?