Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
5 views1 page

Answer

Uploaded by

Deepak Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Answer

Uploaded by

Deepak Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Powered by AI

Bing
Interrupt initiated I/O is generally more efficient than programmed
I/O for the following reasons:
1.CPU Utilization: In programmed I/O, the CPU is in a constant
loop, waiting for the I/O device to be ready for data transfer 1.
This is a time-consuming process that keeps the CPU busy
needlessly, leading to wastage of CPU cycles 1. On the other
hand, in interrupt initiated I/O, the CPU can continue executing
other tasks and doesn't need to constantly check for the flag 1.
When the flag is set, an interrupt is initiated, causing the CPU
to deviate from what it is doing to respond to the I/O transfer 1.
After the transfer is complete, the CPU returns to the previous
task it was executing1. This makes better use of CPU cycles,
increasing overall system efficiency1.
2.Data Transfer Initiation: In programmed I/O, data transfer is
initiated by instructions stored in the computer program 1. This
requires constant monitoring of the peripheral device by the
CPU1. In contrast, interrupt initiated I/O is started by an
interrupt command issued to the CPU1. The CPU doesn't need
to stay in a loop as the interrupt command interrupts the CPU
when the device is ready for data transfer1.
3.System Efficiency: Programmed I/O can lead to wastage of
CPU cycles as the CPU remains busy needlessly, reducing the
efficiency of the system1. In contrast, interrupt initiated I/O
allows the CPU to continue with other work during this time,
making this method more efficient1.
In summary, interrupt initiated I/O is more efficient than
programmed I/O because it allows the CPU to perform other tasks
while waiting for I/O operations to complete, thereby making better
use of CPU cycles and increasing overall system efficiency 1.

Source(s)
1. Difference between Programmed and Interrupt Initiated I/O
2. I/O Interface (Interrupt and DMA Mode) - GeeksforGeeks
3. What is Interrupt Driven I/O? Functioning - Binary Terms
4. Differentiate between programmed I/O and interrupt driven I/O.
5. Explain programmed I/O and interrupt I/O. How they differ - QueryHome

You might also like