2079 6

Operating Systems20795 marksNumerical: SRTN and SJF schedulingVideo solutionProcess Scheduling

For the following dataset, compute average waiting time for SRTN and SJF. | Process | Arrival Time | Burst Time | |---------|--------------|------------| | P0 | 0 | 7 | | P1 | 2 | 4 | | P2 | 4 | 1 | | P3 | 5 | 4 |

For the following dataset, compute average waiting time for SRTN and SJF.

ProcessArrival TimeBurst Time
P007
P124
P241
P354

[5]

Video solutionSRTN and SJF: Average Waiting Time2:56
Speed

Checked against the model answer before publishing.

Process Arrival Time Burst Time ---------------------------------- P0 0 7 P1 2 4 P2 4 1 P3 5 4 All required data present. --- At each new arrival, compare remaining times and run the smallest. - t=0: Only P0. Run P0. - t=2: P1 arrives (4). P0 remaining = 5. Since 4 < 5, run P1. (P0 rem = 5) - t=4...

Up nextDiscuss the advantages disadvantages of implementing file system using Linked List.