Question:

What is the average waiting time for the following processes using round robin scheduling with a time quantum of 4 ms?

ProcessBurst Time
P124
P23
P33

Show Hint

In RR scheduling, track completion of small bursts and cycle rotations carefully.
Updated On: May 26, 2025
  • 5.66 ms
  • 4 ms
  • 20 ms
  • 8.33 ms
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Using RR scheduling with 4 ms quantum:
- P1 completes in 6 rounds = 24 ms, wait time = total time - burst - start
- P2 finishes after 1st cycle (4ms), wait = 0
- P3 finishes after 2nd slot (since P1 resumes after P2), wait = 4
Average waiting time = (13 + 0 + 4)/3 = 5.66 ms
Was this answer helpful?
0
0