2,785 views
2 votes
2 votes
Which of the following statements is / are true?

A. In DMA approach CPU never gets idle for data transfer.

B. In DMA approach, CPU becomes idle whenever DMA controller steals cycle.

C. In DMA approach,DMA controller accepts a data transfer request only after completing last data transfer request

D. In DMA approach, CPU can proceed in parallel, only if next instructions do not need bus

2 Answers

1 votes
1 votes
Ans: D

A] If DMA is in burst mode then CPU gets idle while data being transfered.

B] In cycle stealing mode, DMA gets access over bus whenever CPU is busy executing instruction. That is, when CPU is in execute phase of instruction, it doesn't need bus. So this cycle is stolen by DMA to transfer data. Clearly, in this time CPU is not idle.

C] DMA controller maintains queue of data requests.So it accepts a data transfer request but process it only after completing last data transfer request.

D] It is correct.

Related questions

18 votes
18 votes
1 answer
2
ankitgupta.1729 asked Jul 29, 2017
8,234 views
Please Explain the formulae for % time of CPU blocked in both Cycle Stealing mode and Burst mode of DMA