GATE / CS ARCHIVE

GATE CSE 1998 / QUESTION 1.18

Interrupt-priority policy

Computer Organization & Architecture · Input/Output, DMA & Interrupts · Full GATE CSE 1998 paper

GATE 1998, Q1.18 1 mark · MCQ
Report issue

Input/Output, DMA & Interrupts

Question 1.18, GATE 1998: Which should receive higher interrupt priority: hard disk, printer, keyboard, floppy disk?
Tap to enlarge
Your answer
Answer & solution

Answer: Policy-dependent; A in a conventional overrun-sensitive transfer model (no official key was published)

Interrupt priority normally reflects urgency and the cost of delayed service, not merely a device name. A fast unbuffered hard-disk transfer may lose data if not serviced promptly, motivating A in an older transfer-driven design. A buffered DMA disk may need little immediate CPU attention, while another device could have a stricter deadline. Keyboard responsiveness can matter in interactive systems but does not universally outrank data-loss deadlines. The source gives no controller buffering or timing assumptions, so a hardware-independent unique ordering cannot be proved.

Original paper, page 2