Home » Operating Systems » Operating systems miscellaneous » Question

Operating systems miscellaneous

  1. 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?
    1. 5
    2. 15
    3. 40
    4. 55
Correct Option: B

Gantt chart for SRTF is

Waiting time for process P2 is given as (20 – 15) + (40 – 50), i.e., 15



Your comments will be displayed only after manual approval.