GATE CS 2019 · Question 51 · Operating System · Numerical answer (NAT) · 2 marks · no negative marks

Consider the following four processes with arrival times (in milliseconds) and their length of CPU bursts (in milliseconds) as shown below:
These processes are run on a single processor using preemptive Shortest Remaining Time First scheduling algorithm. If the average waiting time of the processes is 1 millisecond, then the value of Z is ______.

ProcessP1P2P3P4
Arrival time0134
CPU burst time313Z
Answer

Answer 2

Answer from the official GATE CS 2019 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes