Skip to content
Related Articles

Related Articles

Improve Article
GATE | GATE-CS-2016 (Set 1) | Question 41
  • Difficulty Level : Medium
  • Last Updated : 19 Nov, 2018

The size of the data count register of a DMA controller is 16 bits. The processor needs to transfer a file of 29,154 kilobytes from disk to main memory. The memory is byte addressable. The minimum number of times the DMA controller needs to get the control of the system bus from the processor to transfer the file from the disk to main memory is _________

 
Note : This question was asked as Numerical Answer Type.
(A) 3644
(B) 3645
(C) 456
(D) 1823


Answer: (C)

Explanation: Size of data count register of the DMA controller = 16 bits
Data that can be transferred in one go = 216 bytes = 64 kilobytes
File size to be transferred = 29154 kilobytes
So, number of times the DMA controller needs to get the control of the system bus from the processor to transfer the file from the disk to main memory = ceil(29154/64) = 456
 
Thus, C is the correct answer.

Quiz of this Question

Attention reader! Don’t stop learning now. Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :