Question
Consider a computer with a 4 MHz processor. Its DMA controller can transfer 8 bytes in 1 cycle from a device to main memory through cycle stealing at regular intervals. Which one of the following is the data transfer rate (in bits per second) of the DMA controller if 1% of the processor cycles are used for DMA?
Official answer and solution
- Official answer
- C
- From
- Official GATE 2024 answer key
Solution
Calculate the number of DMA cycles per second ( of ) and multiply by the number of bits transferred per cycle ( bits).
- Processor clock frequency .
- Number of cycles used by DMA per second ( of processor cycles):
- Data transferred per DMA cycle .
- Data transfer rate in bits per second:
Option (C)
Forgetting to convert 8 bytes to 64 bits (which gives 3,20,000 bytes/sec) or misplacing a factor of 10.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2024 Computer Science and Information Technology - Set 2 (CS2)
- Question
- 11 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.