Question 103

Computer Awareness I/O Management and CPU Scheduling Medium

Consider a system running under two types of workloads: (a) CPU-intensive jobs, (b) I/O-intensive jobs. Which of the following statements about the relative performance of Interrupt-driven I/O and Programmed I/O is correct?

(A) Programmed I/O performs better in both CPU-intensive and I/O-intensive workloads because it gives the CPU full control.
(B) Programmed I/O performs better for CPU-intensive jobs, while interrupt-driven I/O performs better for I/O-intensive jobs.
(C) Interrupt-driven I/O performs better for CPU-intensive jobs by freeing the CPU, while programmed I/O performs better for I/O-intensive jobs due to tighter control.
(D) Interrupt-driven I/O performs better in both CPU-intensive and I/O-intensive workloads because it always reduces CPU involvement.
✓ Correct Answer: Option C Verified Solution

📘 Step-by-Step Solution & Detailed Explanation:

\[ \textbf{Question: } \text{Consider a system running under two types of workloads: } (a) \text{ CPU-intensive jobs, } (b) \text{ I/O-intensive jobs.} \] \[ \text{Which of the following statements about the relative performance of Interrupt-driven I/O and Programmed I/O is correct?} \] \[ \begin{array}{ll} \textbf{A.} & \text{Programmed I/O performs better in both CPU-intensive and I/O-intensive workloads because it gives the CPU full control.} \\[6pt] \textbf{B.} & \text{Programmed I/O performs better for CPU-intensive jobs, while interrupt-driven I/O performs better for I/O-intensive jobs.} \\[6pt] \textbf{C.} & \text{Interrupt-driven I/O performs better for CPU-intensive jobs by freeing the CPU, while programmed I/O performs better for I/O-intensive jobs due to tighter control.} \\[6pt] \textbf{D.} & \text{Interrupt-driven I/O performs better in both CPU-intensive and I/O-intensive workloads because it always reduces CPU involvement.} \end{array} \] --- \[ \textbf{Analysis:} \] $$ \text{CPU-intensive jobs: Programmed I/O wastes CPU cycles in busy waiting, while interrupt-driven I/O allows the CPU to continue computation until an I/O completes → interrupt-driven is better.} $$ $$ \text{ I/O-intensive jobs: Programmed I/O still wastes CPU time, but interrupt-driven I/O reduces CPU overhead, making it more efficient here as well. } $$ Thus, interrupt-driven I/O is better in both workloads. --- \[ \boxed{\text{Correct Answer: D. Interrupt-driven I/O performs better in both CPU-intensive and I/O-intensive workloads.}} \]

Practice Similar I/O Management and CPU Scheduling Questions

Reinforce your conceptual grasp with related questions from NIMCET 2025:

Q88 Consider a 9-bit representation. Which of the following correctly gives...
Solve →
Q89 What is the equivalent decimal value of the unsigned binary number...
Solve →
Q90 Dynamic RAM (DRAM) stores each bit of data in a separate capacitor. Due to...
Solve →
Q91 Consider the Boolean expression \(X = (A+B).C \) over Boolean variables A,...
Solve →
Q92 What is the hexadecimal representation of the decimal number 265?
Solve →
Full-Length Test Series

Prepare for NIMCET Under Real Exam Conditions

Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.

Start Free Mock Test Series →