Multiple choice

Turnaround time = completion time – arrival time. Average turnaround time = Total turnaround time/total processes

   
Process Arrival Time CPU burst time
p1 0 4
p2 1 10
p3 2 15

What is the average turnaround time for these processes with the preemptive shortest remaining processing time first (SROT) algorithm?

  1. 4.0

  2. 27.0

  3. 14.66

  4. 44.0

  5. 13.0

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

Total turnaround time = (4 - 0) + (14 - 1) + (29 - 2) = 44