Professional Documents
Culture Documents
that process that arrives at time 0(Arrival time in the main memory)
FCFS and SJF are non-preemptive scheduling algorithm, they do not release CPU until the completion
of process.
Average turn around time= time interval between the submission of process and time of
completion, ie
Average waiting time=sum of periods spent waiting by a process in the ready queue
First of we will have to draw Gantt Chart for representation of all process in memory and cpu burst
time.
Now we have to calculate Average turn around time,
=52/3=50millisecond
=49/3=27.66millisecond
=62/3=58millisecond
=30/3=10millisecond
*Performance of algorithm is depending on average waiting time. In both Scheduling, SJF is best
scheduling algorithm