What is the main function of I/O modules in a computer system?
A
Store data permanently B
Connect the CPU to memory C
Handle communication between CPU and peripheral devices D
Increase system clock speed
Analysis & Theory
I/O modules manage data exchange between CPU and external devices.
Which I/O technique requires CPU intervention for every data transfer?
A
Interrupt-driven I/O B
DMA (Direct Memory Access) C
Programmed I/O D
Cache-based I/O
Analysis & Theory
In programmed I/O, the CPU actively manages all I/O operations.
What is the key advantage of using interrupt-driven I/O over programmed I/O?
A
It is slower B
It allows the CPU to perform other tasks while waiting for I/O C
It requires constant polling D
It doesn't need device drivers
Analysis & Theory
Interrupts allow efficient CPU use, avoiding busy-waiting.
What does DMA stand for in computer systems?
A
Direct Memory Allocation B
Data Management Algorithm C
Direct Memory Access D
Device Management Application
Analysis & Theory
DMA allows devices to transfer data directly to/from memory without CPU intervention.
Which component generates an interrupt signal to the CPU?
A
RAM B
ALU C
I/O device D
Cache
Analysis & Theory
I/O devices generate interrupts to request service from the CPU.
In which I/O technique does the CPU check device status in a loop?
A
Interrupt-driven I/O B
DMA C
Polling D
Direct addressing
Analysis & Theory
Polling is a technique where CPU repeatedly checks the device status.
Memory-mapped I/O uses the same address space for:
A
ROM and RAM B
Cache and Registers C
Memory and I/O devices D
Hard disk and main memory
Analysis & Theory
Memory-mapped I/O assigns I/O devices to memory addresses.
What is the role of the I/O controller?
A
Control memory operations B
Provide clock signals C
Manage data transfer between CPU and peripherals D
Translate machine code
Analysis & Theory
I/O controllers coordinate data flow between CPU and I/O devices.
Which of the following is **not** an input device?
A
Mouse B
Keyboard C
Printer D
Scanner
Analysis & Theory
Printers are output devices.
In DMA, what is the name of the component that manages transfers?
A
I/O Processor B
CPU Bus Interface C
DMA Controller D
Interrupt Handler
Analysis & Theory
The DMA controller manages memory access without involving the CPU.