GATE 2024 CS (CS2) – Question 11
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?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) 25,60,000
Explanation
The processor runs at 4 MHz, so it has $4\times10^6$ cycles per second.
1% of these cycles are used by the DMA controller: $0.01\times4\times10^6=40{,}000$ cycles/s.
Each stolen cycle transfers 8 bytes $=64$ bits, so
$$\text{rate}=40{,}000\times64=25{,}60{,}000\text{ bits/s (2,560,000)}.$$
In Indian digit grouping, "25,60,000" is $2{,}560{,}000$ and "2,56,000" is only $256{,}000$. So the answer is option (C).