0
0
Operating Systemsknowledge~10 mins

Programmed I/O vs interrupt-driven I/O in Operating Systems - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the sentence to describe Programmed I/O.

Operating Systems
In Programmed I/O, the CPU [1] the device status continuously to check if it is ready.
Drag options to blanks, or click blank then click option'
Apolls
Bignores
Cinterrupts
Dsleeps
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing polling with interrupts.
Thinking the CPU sleeps while waiting.
2fill in blank
medium

Complete the sentence to describe interrupt-driven I/O.

Operating Systems
In interrupt-driven I/O, the device [1] the CPU when it is ready to transfer data.
Drag options to blanks, or click blank then click option'
Aignores
Bpolls
Cinterrupts
Dwaits
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up who initiates communication.
Thinking the CPU polls in interrupt-driven I/O.
3fill in blank
hard

Fix the error in the statement about CPU usage in Programmed I/O.

Operating Systems
Programmed I/O is inefficient because the CPU [1] while waiting for the device.
Drag options to blanks, or click blank then click option'
Asleeps
Binterrupts
Cignores
Dpolls
Attempts:
3 left
💡 Hint
Common Mistakes
Saying the CPU sleeps or ignores the device.
Confusing polling with interrupts.
4fill in blank
hard

Fill both blanks to complete the comparison between Programmed I/O and interrupt-driven I/O.

Operating Systems
Programmed I/O uses [1] to check device status, while interrupt-driven I/O uses [2] to notify the CPU.
Drag options to blanks, or click blank then click option'
Apolling
BDMA
Cinterrupts
Dbuffers
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing DMA with interrupts.
Mixing polling and buffering concepts.
5fill in blank
hard

Fill all three blanks to complete the dictionary describing I/O methods.

Operating Systems
io_methods = {"Programmed I/O": "CPU [1] device status", "Interrupt-driven I/O": "Device [2] CPU", "DMA": "Direct data transfer without [3] CPU intervention"}
Drag options to blanks, or click blank then click option'
Apolls
Binterrupts
Cconstant
Dbuffers
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up who polls and who interrupts.
Misunderstanding DMA's role.