Transcribed Image Text: 1.Draw Gantt chart and calculate the average waiting Time using preemptive scheduling for
SJRF.
Process Name
Burst Time ( ms)
Arrival Time ( ms
P1
15
1
P2
5
2
P3
4
3
P4
10
4
5
P5
8
Assume all the process arrive at the same time. Calculate the average waiting Time using Non
preemptive scheduling for FCFS. Write a program in PYTHON to implement the given CPU
scheduling algorithm
Process Name
Burst Time ( ms)
Arrival Time ( ms )
PI
15
1
P2
5
P3
4
3
P4
10
4
P5
8
5