Search your topic here

SJF nonpreemptive algorithm problem

Prob. Consider the ahead processes with arrival time and execution time as indicated.

Process
Arrival Time
Burst Time
P1
0.0
8
P2
0.4
4
P3
1.0
1

Calculate average turnaround time using-


(i)                 FCFS
(ii)               SJF non-preemptive

(iii)             SJF preemptive

Ans.


SJF non-preemptive:
SJF (Non-preemptive): Average waiting time calculation

LEAVE A REPLY