GATE CS 2017, set 1 · Question 24 · Operating System · Numerical answer (NAT) · 1 mark · no negative marks
Consider the following CPU processes with arrival times (in milliseconds) and length of CPU bursts (in milliseconds) as given below :
If the pre-emptive shortest remaining time first scheduling algorithm is used to schedule the processes, then the average waiting time across all processes is ______ milliseconds.
| Process | Arrival time | Burst time |
|---|---|---|
| P1 | 0 | 7 |
| P2 | 3 | 3 |
| P3 | 5 | 5 |
| P4 | 6 | 2 |
Answer
Answer 3
Answer from the official GATE CS 2017 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes