All Exams Test series for 1 year @ ₹349 only
Question

The CPU of a system having 1 MIPS execution rate needs 4 machine cycles on an average for executing an instruction. The fifty percent of the cycles use memory bus. A memory read/ write employs one machine cycle. For execution of the programs, the system utilizes 90 percent of the CPU time. For block data transfer, an IO device is attached to the system while CPU executes the background programs continuously. What is the maximum IO data transfer rate if programmed IO data transfer technique is used ?

This question was previously asked in
UGC NET 2015 Paper 1 Question Paper (27-Dec-2015)
The correct answer is

250 Kbytes/sec

In programmed I/O every byte is moved by the CPU itself, by executing instructions that test the device status, read the byte and store it in memory.

Instruction rate \(= 1\) MIPS \(= 10^{6}\) instructions/sec, with \(4\) machine cycles per instruction, so there are \(4 \times 10^{6}\) machine cycles/sec.

A programmed transfer of one byte costs about one instruction time of \(4\) machine cycles for the CPU-driven read and another for the memory write, together with status polling, i.e. about \(4\) instruction steps per byte.

Maximum rate \(= \frac{10^{6}}{4} = 250 \times 10^{3}\) bytes/sec \(= 250\) Kbytes/sec

Check: 2.2 Mbytes/sec is the cycle-stealing (DMA) style figure that uses free bus cycles, which programmed I/O cannot exploit, while 125 and 500 Kbytes/sec assume a different instruction count per byte.

Hence, 250 Kbytes/sec.

Was this answer helpful?

Similar Questions

  1. A DMA controller transfers 32-bit words to memory using cycle Stealing. The words are assembled from a device that transmits characters at a rate of 4800 characters per second. The CPU is fetching and executing instructions at an average rate of one million instructions per second. By how much will the CPU be slowed down because of the DMA transfer ?

  2. Arrange the given steps required for a Direct Memory Access (DMA) transfer in the correct order.

    (A) Initiate DMA transfer request

    (B) Transfer data directly between peripheral and memory

    (C) Processor grants DMA control over the system bus

    (D) DMA controller completes data transfer and signals completion

    Choose the correct answer from the options given below :


Important Questions from Modes of Data Transfer

  1. Which method bypasses the CPU for certain types of data transfer?

  2. For long distance communication which of the following data transfer technique is used?

  3. A DMA controller transfers 32-bit words to memory using cycle Stealing. The words are assembled from a device that transmits characters at a rate of 4800 characters per second. The CPU is fetching and executing instructions at an average rate of one million instructions per second. By how much will the CPU be slowed down because of the DMA transfer ?

  4. Arrange the given steps required for a Direct Memory Access (DMA) transfer in the correct order.

    (A) Initiate DMA transfer request

    (B) Transfer data directly between peripheral and memory

    (C) Processor grants DMA control over the system bus

    (D) DMA controller completes data transfer and signals completion

    Choose the correct answer from the options given below :

Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) 2026 Mock Test Series
796 Tests 2 Tests Free
4.4(40)
English
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App