Multiple choice

Three jobs are executed on a single processor system, it arrives at 0 time in order of p, q, r. Their CPU burst time required is 4, 1, 3 times. What is the completion time of jobs under round robin scheduling with time slice of 1 unit?

  1. 8

  2. 7

  3. 4

  4. 3

  5. 5

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Here, p will take 1 unit then q will take 1 unit and gets completed then r will take 1 and then again p 1 and r  1 and then p 1 and then r 1 unit and gets completed again p will take 1 and hence, completely execute and total equals eight slice.