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
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
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
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.
4. How many classifications of DMA controllers are made based on the addressing capability?
a) 2
b) 3
c) 4
d) 5
View Answer
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
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.
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
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
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.
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
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
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.
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
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.