Assume that the following jobs are to be executed on a single processor system. All jobs have arrived at 0 msec.
Assume that the following jobs are to be executed on a single processor system. All jobs have arrived at 0 msec.
Job Id | CPU
a | 4
b | 1
c | 7
d | 2
If scheduling is round robin with time slice 1 msec, then what is the completion time for job 'a'?
Show answerHide answer
Correct answer: (B) 10
Explanation
With RR (q = 1), the order is a, b, c, d, a, c, d, a, c, a. b ends at 2 and d at 7, and a's fourth slice ends at time 10.