Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which one of the following statements is FALSE?

  • A.In the cycle stealing mode of DMA, one word of data is transferred between an I/O device and main memory in a stolen cycle
  • B.For bulk data transfer, the burst mode of DMA has a higher throughput than the cycle stealing mode
  • C.Programmed I/O mechanism has a better CPU utilization than the interrupt driven I/O mechanism
  • D.The CPU can start executing an interrupt service routine faster with vectored interrupts than with non-vectored interrupts

Answer: C

The FALSE statement is Programmed I/O has better CPU utilization than interrupt driven I/O.

In programmed I/O the CPU repeatedly polls the device status and waits while the device is busy, so it wastes cycles doing nothing useful. Interrupt driven I/O lets the CPU do other work and respond only when the device signals readiness, so it uses the CPU better, not worse.

The other statements are true. In cycle stealing the DMA controller takes the bus for one word at a time. Burst mode transfers a whole block while holding the bus, so it has higher throughput for bulk data. With vectored interrupts the device supplies the address of its service routine, so the CPU need not poll to find the source and can start the routine sooner.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.