GATE / CS ARCHIVE

GATE CSE 2024 SET 1 / QUESTION 15

Distinguish polling, interrupts and DMA

Computer Organization & Architecture · Input/Output, DMA & Interrupts · Full GATE CSE 2024 Set 1 paper

GATE 2024 Set 1, Q15 1 mark · MCQ
Report issue

Input/Output, DMA & Interrupts

Question 15, GATE 2024: Which statement is false? A Cycle-stealing DMA transfers one word between an I/O device and memory in a stolen cycle. B Burst DMA offers higher bulk-transfer throughput than cycle stealing. C Programmed I/O uses the CPU better than interrupt-driven I/O. D Vectored interrupts can start their service routine faster than non-vectored interrupts.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Approach: Compare what the CPU must do while an I/O device is not ready, then check the other hardware statements.
1. In programmed I/O the CPU repeatedly polls device status and performs the transfer itself. Time spent waiting or polling is unavailable for useful work on other tasks.
2. With interrupt-driven I/O, the CPU can execute other work until the device signals that attention is required. In the standard comparison used here, this improves CPU utilization. Thus C reverses the expected relationship and is false.
3. Cycle stealing grants DMA a bus cycle for a word transfer, supporting A. Burst DMA keeps the bus for a block, reducing repeated arbitration overhead and supporting B for bulk traffic.
4. A vectored interrupt identifies the appropriate handler through a vector, whereas a non-vectored mechanism needs additional identification or dispatch. This supports D.
Answer: C. These are textbook comparisons under comparable conditions, not a claim that interrupt overhead is zero for every workload.

Original paper, page 10 · Answer key