Interrupt-driven I/O is more efficient than CPU polling because it allows the CPU to focus on other tasks while waiting for I/O events. Question 6 options: TrueFalse
Added by Victoria W.
Step 1
CPU polling involves the CPU repeatedly checking the status of an I/O device to see if it needs attention. This can waste CPU resources as it continuously checks for events instead of performing other tasks. Show more…
Show all steps
Your feedback will help us improve your experience
Madhur L and 82 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
What if the Monitor were a synchronous device, e.g., we know that it will be ready 1 microsecond after character is written. Can we avoid polling? How? What are advantages and disadvantages?
Madhur L.
Select the correct alternative from the given choices. In which of following I/O techniques, there will be no interrupt? (A) Programmed I/O (B) Interrupt-driven $\mathrm{I} / \mathrm{O}$ (C) DMA (D) Both (B) and (C)
Computer Organization and Architecture
Memory Interface, I/O Interface
Suppose a multiprogramming operating system is allotting time slices of 50 milliseconds. If it normally takes 8 milliseconds to position a disk's read/write head over the desired track and another 17 milliseconds for the desired data to rotate around to the read/write head, how much of a program's time slice can be spent waiting for a read operation from a disk to take place? If the machine is capable of executing 10 instructions each nanosecond, how many instructions can be executed during this waiting period? (This is why when a process performs an operation with a peripheral device, a multiprogramming system terminates that process's time slice and allows another process to run while the first process is waiting for the services of the peripheral device.)
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD