Consider the following set of processes, assumed to have arrived at time 0.…

PYQ GATE 2020

Consider the following set of processes, assumed to have arrived at time 0. Consider the CPU scheduling algorithms Shortest Job First (SJF) and Round Robin (RR). For RR, assume that the processes are scheduled in the order P1,P2,P3,P4P_1, P_2, P_3, P_4.

ProcessesP1P2P3P4Burst time (in ms)8724\begin{array}{|l|l|l|l|l|} \hline \text{Processes} & P_1 & P_2 & P_3 & P_4 \\ \hline \text{Burst time (in ms)} &8 & 7 & 2 & 4 \\ \hline \end{array}

If the time quantum for RR is 4 ms, then the absolute value of the difference between the average turnaround times (in ms) of SJF and RR (round off to 2 decimal places) is _________ . 

Attempted by 229 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…