Back to the 2024 paper

Module 2: x86 Architecture, CPU Control, I/O, Memory System Design

20242m

Which of the following I/O transfer methods involves the CPU polling the device until data is read?
i) DMA
ii) Interrupt-driven I/O
iii) Program-controlled I/O
iv) Asynchronous I/O

Worked SolutionAI Assisted

Answer: (iii) Program-controlled I/O (Programmed I/O)

Explanation:

  • Programmed / Program-controlled I/O: CPU continuously polls status register (busy/done bit) in a loop until device is ready, then transfers data. Wastes CPU cycles (busy-waiting).
  • Interrupt-driven I/O: Device interrupts CPU only when ready - no polling.
  • DMA: Direct transfer between memory & device by DMA controller without CPU polling/intervention.
  • Asynchronous I/O: Overlapped/non-blocking operation, not polling.

Hence CPU polling = Programmed I/O.

Similar questions

Student FinanceWeb Platform

Pocketly — Personal Finance for Students

Keep your hostel and college expenses under control. Track accounts, log spending in seconds, and stay within your monthly budget.