Interrupt driven I/O vs. polled I/O
Not what you're looking for?
In an 8-hour interval, an operator controls systems with 60 commands on the average, entered through a keyboard.
a. Processor scans keyboard every 100 ms. Give check counts in an 8 hours period.
b. If processor uses interrupt-driven I/O, how much does the processor save in fraction of its visits to the keyboard?
Purchase this Solution
Solution Summary
Since nothing is specified about the size of operator commands in the question, solution assumes that either these are single character commands issued at different points in time, or we have an intelligent keyboard that interrrupts processor only when operator has typed in the complete command.
Solution Preview
a. Processor scans keyboard every 100 ms.
So in 1 second it will scan keyboard (1 second/100 ms) = (1000 ms/100 ms) = 10 times.
Hence check counts in an 8 hours period = 8 hrs * 3600 seconds/hr * 10 times/second = 288,000 times
b. As ...
Purchase this Solution
Free BrainMass Quizzes
Basic Computer Terms
We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.
C# variables and classes
This quiz contains questions about C# classes and variables.
Basic Networking Questions
This quiz consists of some basic networking questions.
Inserting and deleting in a linked list
This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.
Javscript Basics
Quiz on basics of javascript programming language.