Question 61

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 ______.
  1. A5.66 units
  2. B17 units
  3. C10 units
  4. D15.66 units
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.

From DSSSB TGT Computer Science Practice Set 3

This is question 61 of DSSSB TGT Computer Science Practice Set 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.