Consider three processes P₁, P₂, P₃, requiring 24, 3, 3 units of CPU time respectively. For time quantum of 4 units and Round - Robin scheduling policy, the…
Consider three processes P₁, P₂, P₃, requiring 24, 3, 3 units of CPU time respectively. For time quantum of 4 units and Round - Robin scheduling policy, the average waiting time is ______.
Show answerHide answer
Correct answer: (A) 5.66 units
Explanation
With a quantum of 4: P1 runs 0–4, P2 runs 4–7, P3 runs 7–10, then P1 runs 10–30. Waiting times are P1 = 6, P2 = 4, P3 = 7. The average is 17/3 ≈ 5.66 units.