So in class, my professor was going over round robin scheduling. Consider this situation:
Job | Arrival | Burst
A | 0 | 3
B | 1 | 5
C | 3 | 4
My professor wrote down the results as follows:
Time
1 2 3 4 5 6 7 8 9 10 11 12
A A B A B B C C B C B C
At times 0-1
, A
has being processed for one burst. At time 1-2
, A
is being processed for another burst. At time 2-3
B
is being processed for a burst, and so on and so forth.
What I'm confused about is at times 6-8
. B
is processed again from time 5-6
. Then C
from time 6-7
, and C
again from time 7-8
. Shouldn't it instead be this:
Time
1 2 3 4 5 6 7 8 9 10 11 12
A A B A B C B C B C B C