Consider three processes P1, P2, P3 requiring 24, 3, and 3 units of CPU time…
2022
Consider three processes P1, P2, P3 requiring 24, 3, and 3 units of CPU time respectively. For a time quantum of 4 units and Round-Robin scheduling policy, the average waiting time is:
- A.
5.66 units
- B.
17 units
- C.
10 units
- D.
15.66 units
Attempted by 327 students.
Show answer & explanation
Correct answer: A
With RR (q=4), completion times are P2=7, P3=10, P1=30. Waiting times: P1=6, P2=4, P3=7. Average waiting time = (6+4+7)/3 = 5.66 units.