Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Meet and Greet (http://www.go4expert.com/community/meet-and-greet/)
-   -   Operating Systems - I/O Models (http://www.go4expert.com/community/operating-systems-i-o-models-t27915/)

joschmuck 29Feb2012 13:57

Operating Systems - I/O Models
 
Hi,

I've been looking high and low on the Internet and textbook and still can't find anything mentioned on the following calculation.

An application need to output 1000 words from the internal memory to the hard disk.
For programmed I/O, interrupt-driven I/O and DMA:
a. How many times the processor is interrupted?
b. How many times the memory is read by the processor (for both program and data)?
c. How many times the disk controller is read by the processor?
d. How many times the disk controller is written to by the processor?

Any help is greatly appreciated.

Thanks.


All times are GMT +5.5. The time now is 19:49.