Embedded Systems Questions and Answers – DMA

This set of Embedded Systems Multiple Choice Questions & Answers (MCQs) focuses on “DMA”.

1. Which of the following provides an efficient method for transferring data from a peripheral to memory?
a) dma controller
b) serial port
c) parallel port
d) dual port
View Answer

Answer: a
Explanation: The DMA controllers or direct memory access controller provides an efficient method for transferring data from the peripheral to the memory.

2. Which of the following can be adopted for the systems which does not contain DMA controller for data transmission?
a) counter
b) timer
c) polling
d) memory
View Answer

Answer: c
Explanation: The polling and interrupt helps for data transmission for the systems which do not have DMA controller.

3. Which of the following have low-level buffer filling?
a) output
b) peripheral
c) dma controller
d) input
View Answer

Answer: c
Explanation: The DMA controller can initiate and control the bus access between I/O devices and memory, and also between two different memory areas. Therefore, the DMA controller can act as a hardware implementation of low-level buffer filling or emptying the interrupt.

advertisement
advertisement

4. How many classifications of DMA controllers are made based on the addressing capability?
a) 2
b) 3
c) 4
d) 5
View Answer

Answer: b
Explanation: There are three classifications for the DMA controllers based on the address capability. These are 1D, 2D and 3D.

5. How many address register are there for the 1D type DMA controller?
a) 1
b) 2
c) 3
d) 4
View Answer

Answer: a
Explanation: The 1D controller only have a single address register whereas 2D controller have two address register and 3D controller have three or more address register.
Note: Join free Sanfoundry classes at Telegram or Youtube

6. Which of the following of a generic DMA controller contain a base address register and an auto-incrementing counter?
a) address bus
b) data bus
c) bus requester
d) address generator
View Answer

Answer: d
Explanation: The generic controller have several components associated with it for controlling the operation and one such is the address generator. It consists of the base address register and an auto-incrementing counter which increment the address after every transfer.

7. Which of the following is used to transfer the data from the DMA controller to the destination?
a) data bus
b) address bus
c) request bus
d) interrupt signal
View Answer

Answer: a
Explanation: The data bus is used for the transmission of data from the DMA controller to the destinal. The DMA controller can directly select the peripheral in some cases in which the data transfer is made from the peripheral to the memory.
advertisement

8. Which of the following is used to request the bus from the main CPU?
a) data bus
b) address bus
c) bus requester
d) interrupt signal
View Answer

Answer: c
Explanation: The bus requester requests the bus from the main CPU. In earlier design, the processor bus does not support the multi master system and there were no bus request signals. In such cases, the processor clock was extended.

9. Which signal can identify the error?
a) data bus
b) address bus
c) bus requester
d) interrupt signal
View Answer

Answer: d
Explanation: The interrupt signal can identify the error occurred in the DMA controller. This makes the processor to reprogram the DMA controller for a different transfer.
advertisement

10. Which signal allows the DMA controller to select the peripheral?
a) local peripheral control
b) global peripheral control
c) address bus
d) data bus
View Answer

Answer: a
Explanation: The local peripheral control allows the DMA controller to select the peripheral.

Sanfoundry Global Education & Learning Series – Embedded System.

To practice all areas of Embedded System, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.