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

In which one of the following data transfer schemes, the CPU stays in a program loop until the I/O unit indicates that it is ready for data transfer while transferring data to and from peripherals?

The correct answer is
Programmed I/O

Understanding Programmed I/O

The question describes a scenario where the CPU actively waits for an I/O device to be ready for data transfer. This process involves the CPU repeatedly checking the status of the I/O device in a loop until the device signals it is ready. This method is known as polling.

Data Transfer Schemes Explained

  • Programmed I/O: In this scheme, the CPU is directly involved in managing the data transfer. It continuously checks (polls) the status flags of the I/O device. If the device is busy, the CPU waits in a loop. Only when the I/O device is ready does the CPU transfer data. This matches the description in the question.
  • Interrupt-initiated I/O: Here, the I/O device sends an interrupt signal to the CPU when it needs attention or is ready for transfer. The CPU stops its current task, handles the interrupt (data transfer), and then resumes its previous task. The CPU does not stay in a program loop waiting.
  • Direct Memory Access (DMA): DMA allows data transfer directly between the I/O device and main memory without involving the CPU for the entire transfer process. A DMA controller manages the transfer, freeing the CPU for other tasks.
  • Programmed interrupt I/O: This term is less standard, but the core concept described relies on the CPU's continuous looping, which is the defining characteristic of Programmed I/O, not interrupt handling.

Conclusion

Based on the description of the CPU staying in a program loop until the I/O unit is ready, the correct data transfer scheme is Programmed I/O.

Was this answer helpful?

Important Questions from I/O Interface

  1. A specialized I/O processor takes over control of an I/O operation to move a large block of data is :
  2. Which one of the following produced output by the computer system?

  3. In an asynchronous data transfer, a unit receiving the data item responds with another control signal to acknowledge receipt of the data. This type of agreement between two independent units is referred to as
  4. Which of the following rules are correct, when a transmitted character is detected by the receiver from knowledge of the transmission?

    1. When a character is not being sent, the line is kept in the 1-state.

    2. The initiation of a character transmission is detected from the start bit, which is always 0.

    3. The character bits always follow the start bit.

    4. After the last bit of the character is transmitted, a stop bit is detected when the line returns to the 1-state for at least one bit time.

    Select the correct answer using the code given below.

  5. The original/early and most widely used PC expansion Bus scheme used is

Need Expert Advice?

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