-
An operating system uses Shortest Remaining Time First (SRTF) process scheduling algorithm. Consider the arrival times and execution times for the following processes
Which is the total waiting time for process P2?
-
- 5
- 15
- 40
- 55
- 5
Correct Option: B
Gantt chart for SRTF is
Waiting time for process P2 is given as (20 – 15) + (40 – 50), i.e., 15