Physics, asked by tusharkumar7330, 1 year ago

What are the main differences between the three i/o models and what are their strength and weakness?

Answers

Answered by sap000006
1
Programmed-driven I/O means the program is polling or checking some hardware item e.g. mouse within a loop. 
For Interrupt driven I/O, the same mouse will trigger a signal to the program to process the mouse event.

Advantage of Programmed Driven: easy to program and understand
Disadvantages: slow and inefficient

Advantage of Interrupt Driven: fast and efficient
Disadvantage: Can be tricky to write if you are using a low level language.
Can be tough to get the various pieces to work well together. Usually done by the hardware manufacturer or the OS maker e.g. Microsoft.
Similar questions