All mock tests are FREE till 31 December — register to save your progress

With a 2 ms time slice and processes P1 (burst 3, arrival 0), P2 (4, 2), P3 (5, 5), find the average turnaround and waiting times under round robin.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. 5.66,1.66

Explanation

P1 0–2, P2 2–4, P1 4–5 (done), P2 5–7 (done), P3 7–12. Turnaround: 5, 5, 7 → 5.66 ms. Waiting: 2, 1, 2 → 1.66 ms.

More System Software and Operating System questions