GATE CS 2017, set 2 · Question 51 · Operating System · Numerical answer (NAT) · 2 marks · no negative marks
Consider the set of processes with arrival time (in milliseconds), CPU burst time (in milliseconds), and priority (0 is the highest priority) shown below. None of the processes have I/O burst time.
The average waiting time (in milliseconds) of all the processes using preemptive priority scheduling algorithm is ______.
| Process | Arrival Time | Burst Time | Priority |
|---|---|---|---|
| P₁ | 0 | 11 | 2 |
| P₂ | 5 | 28 | 0 |
| P₃ | 12 | 2 | 3 |
| P₄ | 2 | 10 | 1 |
| P₅ | 9 | 16 | 4 |
Answer
Answer 29
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