Questions: I/O Systems and Buses

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A programmer uses a standard store instruction to write to address 0xFFFE0010 and successfully configures a graphics card register. Which I/O model does this describe?

APort-mapped I/O — the OUT instruction is implicitly called by the compiler
BMemory-mapped I/O — device registers occupy reserved addresses in the main address space
CDirect Memory Access — the CPU is bypassed and the device writes directly to RAM
DInterrupt-driven I/O — the device signals the CPU when it is ready
Question 2 Multiple Choice

A slow hard drive transfers data at 100 MB/s while the system bus operates at 8 GB/s. Which component primarily bridges this speed mismatch?

AThe CPU cache, which stores recently accessed disk data for fast retrieval
BThe device controller, which buffers data from the peripheral before transferring it in bursts to the bus
CThe OS scheduler, which pauses the CPU while waiting for disk data
DPort-mapped I/O, which provides a dedicated channel for slow devices
Question 3 True / False

In memory-mapped I/O, device registers occupy the same address space as physical RAM, which reduces the total memory available to programs.

TTrue
FFalse
Question 4 True / False

A bus can be understood as simply a collection of wires connecting the CPU to peripheral devices.

TTrue
FFalse
Question 5 Short Answer

Explain why device controllers are necessary in an I/O system, even when the CPU could theoretically poll devices directly.

Think about your answer, then reveal below.