IO Interface · Computer Organization and Architecture
14 questions · asked in 10 of 27 years (2000–2026)
MCQ 12 · NAT 21-mark 11 · 2-mark 3
2000Questions per year2026
Questions 1–5 of 14
Which one of the following statements is FALSE?
Answer: (C)
(A) Cycle stealing: DMA takes one bus cycle and moves one word in it. This is TRUE.
(B) Burst mode holds the bus for the whole block, so there are no repeated bus requests. This gives higher throughput for bulk transfer. This is TRUE.
(C) Programmed I/O has better CPU utilization than interrupt-driven I/O. This is FALSE. In programmed I/O the CPU keeps polling the device status and wastes cycles. In interrupt-driven I/O the CPU can do other work until the device interrupts.
(D) A vectored interrupt gives the ISR address directly, so no polling is needed to find the device. The ISR starts faster. This is TRUE.
Answer: (C)
(B) Burst mode holds the bus for the whole block, so there are no repeated bus requests. This gives higher throughput for bulk transfer. This is TRUE.
(C) Programmed I/O has better CPU utilization than interrupt-driven I/O. This is FALSE. In programmed I/O the CPU keeps polling the device status and wastes cycles. In interrupt-driven I/O the CPU can do other work until the device interrupts.
(D) A vectored interrupt gives the ISR address directly, so no polling is needed to find the device. The ISR starts faster. This is TRUE.
Answer: (C)
Consider a computer with a 4 MHz processor. Its DMA controller can transfer 8 bytes in 1 cycle from a device to main memory through cycle stealing at regular intervals. Which one of the following is the data transfer rate (in bits per second) of the DMA controller if 1% of the processor cycles are used for DMA?
Answer: (C)
DMA uses this many cycles in one second: .
One cycle moves 8 bytes, which is 64 bits.
Data transfer rate: bits/s, so the rate is 25,60,000 bps.
Answer: 25,60,000
One cycle moves 8 bytes, which is 64 bits.
Data transfer rate: bits/s, so the rate is 25,60,000 bps.
Answer: 25,60,000
Which one of the following facilitates transfer of bulk data from hard disk to main memory with the highest throughput?
Answer: (A)
With DMA, the DMA controller carries the full block of data between the disk and memory on its own. The CPU does not have to handle each word. Interrupt-driven, polling and programmed I/O all make the CPU deal with every word, so they are much slower for bulk data.
Answer: DMA based I/O transfer
Answer: DMA based I/O transfer
Consider a computer system with DMA support. The DMA module is transferring one 8-bit character in one CPU cycle from a device to memory through cycle stealing at regular intervals. Consider a 2 MHz processor. If 0.5% processor cycles are used for DMA, the data transfer rate of the device is __________ bits per second.
Answer: 80000
DMA cycles in one second = 0.5% of , which gives .
Every cycle transfers 8 bits the rate is bits/s.
Answer: 80000
Every cycle transfers 8 bits the rate is bits/s.
Answer: 80000
The size of the data count register of a DMA controller is 16 bits. The processor needs to transfer a file of 29,154 kilobytes from disk to main memory. The memory is byte addressable. The minimum number of times the DMA controller needs to get the control of the system bus from the processor to transfer the file from the disk to main memory is ____.
Answer: 456
The data count register has 16 bits. So in one bus grab, the DMA can transfer at most bytes = 64 KB.
Number of times the DMA needs the bus:
Answer: 456
Number of times the DMA needs the bus:
Answer: 456
Keep practising