If the time quantum size is 2 units of an there is only one job of 14 time unit in a ready queue, the round-robin scheduling algorithm will cause ______…
If the time quantum size is 2 units of an there is only one job of 14 time unit in a ready queue, the round-robin scheduling algorithm will cause ______ context switches.
Show answerHide answer
Correct answer: (C) 6
Explanation
A 14-unit job with a 2-unit quantum runs in 7 slices. A switch is counted between slices, giving 7 − 1 = 6 context switches.