Program for FCFS Scheduling - cook the code

Wednesday 10 January 2018

Program for FCFS Scheduling


Program for FCFS Scheduling
We have already discussed FCFS Scheduling of processes with same arrival time. In this post, scenario when processes have different arrival times are discussed. Given n processes with their burst times and arrival times, the task is to find average waiting time and average turn around time using FCFS scheduling algorithm.

ff2_
ff23_

 stdout
p bt at ct tat wt
0   5   3   8   5   0
1   9   3   17   14   5
2   6   6   23   17   11

No comments:

Post a Comment