← Back to 13. I/O Systems

📝 Spooling and device reservation in Kernel I/O Subsystem

📖 From Operating System • 13. I/O Systems • 7 questions available

Practice MCQs for Spooling and device reservation in Kernel I/O Subsystem. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-27

2
Easy Questions
3
Medium Questions
2
Hard Questions

📝 Sample Questions

Q1. A printer controller raises a maskable interrupt while the CPU is executing a low‑priority I/O routine. Which outcome correctly describes the interrupt handling according to priority levels?

🔹 A. The CPU finishes the low‑priority routine before servicing the interrupt.
🔹 B. The interrupt preempt​s the low‑priority routine immediately.
🔹 C. The interrupt is ignored until the routine disables interrupts.
🔹 D. The CPU switches to a non‑maskable interrupt handler.

💡 Difficulty: easy | ✅ Correct: B

Q2. In a spooling system, when a printer’s buffer‑empty interrupt occurs, the OS should ...

🔹 A. Immediately write the next job to the printer without checking priority.
🔹 B. Queue the interrupt and wait for the current job to finish.
🔹 C. Service the interrupt, then schedule the highest‑priority pending print job.
🔹 D. Ignore the interrupt and poll the printer status later.

💡 Difficulty: medium | ✅ Correct: C

Q3. An OS designer wants to reserve vector 45 for a new network card. Which step is essential to ensure the interrupt can be masked by the CPU when lower‑priority tasks run?

🔹 A. Place the handler in the non‑maskable range 0‑31.
🔹 B. Register the handler in the IDT and set its descriptor’s privilege level to 0.
🔹 C. Install the handler at vector 45 and mark the interrupt as maskable in the PIC.
🔹 D. Disable all maskable interrupts during handler installation.

💡 Difficulty: hard | ✅ Correct: C

⬆️ View all questions in the quiz below

🔗 Related Topics

📝 Overview of I/O Systems📝 I/O Hardware in I/O Systems📝 Polling in I/O Hardware📝 Interrupts in I/O Hardware📝 Direct memory access in I/O Hardware
🚀 Start Quiz 📝 Practice Mode