Home » Operating Systems » Operating systems miscellaneous » Question

Operating systems miscellaneous

  1. Consider the following processes, with the arrival time and the length of the CPU burst given in milliseconds. The scheduling algorithm used is preemptive shortest remainingtime first.

    The average turnaround time of these processes is ________ milliseconds.
    1. 8.25
    2. 4.25
    3. 18.15
    4. 6.25
Correct Option: A

Due to SRTF preemption

∵ Completion Time = Arrival Time + Process Turn Around Time
∴ Process Turn Around Time = Completion Time – Arrival Time

P1 20
P2 7
P3 1
P4 5

Average Turn Around Time (TAT) = 33 / 4 = 8.25



Your comments will be displayed only after manual approval.