Q4. Does arrival time of processes effect scheduling, if yes, than explain with example.
Ans. When the processes do not come at the same time, that is, the arrival time of each process is different than arrival time plays an important role in the scheduling.
Let’s take four processes that arrive one after another in this order:
0 7 8 12 16
P1’s waiting time=0
P2’s waiting time=6
P3’s waiting time=3
P4’s waiting time=7
Average Waiting Time
Turnaround Time = Burst Time + Waiting Time
Process Turnaround Time
Average Turnaround Time