Arrange the given steps required for a Direct Memory Access (DMA) transfer in…
2024
Arrange the given steps required for a Direct Memory Access (DMA) transfer in the correct order.
(A) Initiate DMA transfer request
(B) Transfer data directly between peripheral and memory
(C) Processor grants DMA control over the system bus
(D) DMA controller completes data transfer and signals completion
Choose the correct answer from the options given below:
- A.
(C), (A), (B), (D)
- B.
(A), (C), (B), (D)
- C.
(A), (B), (C), (D)
- D.
(C), (B), (A), (D)
Attempted by 268 students.
Show answer & explanation
Correct answer: B
Correct sequence: Initiate DMA transfer request → Processor grants DMA control over the system bus → Transfer data directly between peripheral and memory → DMA controller completes data transfer and signals completion.
Initiate DMA transfer request — A peripheral device or the system requests the DMA controller to perform a transfer.
Processor grants DMA control over the system bus — The processor acknowledges the request and releases the system bus so the DMA controller can use it.
Transfer data directly between peripheral and memory — The DMA controller performs the actual data movement without CPU intervention.
DMA controller completes data transfer and signals completion — The DMA controller raises an interrupt or sets a flag to inform the processor that the transfer is finished.
Why this order matters: The transfer request must come first so the processor knows to yield the bus. Only after the processor grants bus control can the DMA controller safely move data. Finally, signaling completion lets the processor resume normal handling or post-processing.
A video solution is available for this question — log in and enroll to watch it.