SJF Preemptive algorithm problem

Prob. For the following jobs calculate the turnaround time, waiting time using RR (time quantum=1), SJF (pre-emptive) scheduling algorithms.


Jobs
CPU Burst Time
Arrival Time
1
10
0.0
2
2
3.0
3
1
4.0
4
4
5.0

Ans.


SJF (pre-emptive) scheduling algorithms:

SJF (Preemptive): Average waiting time calculation

SJF(Premptive): Averrage turnaround time calculation

SJF(Preemptive): Average response time calculation


LEAVE A REPLY










Related topics

Please use contact page in this website if you find anything incorrect or you want to share more information about the topic discussed above.