FCFS: First Come First Serve Scheduling in OS: Example of FCFS: Buying Tickets at The Ticket Counter
FCFS: First Come First Serve Scheduling in OS: Example of FCFS: Buying Tickets at The Ticket Counter
P0 0 6 6 6 0
P1 1 8 14 13 5
P2 2 10 24 22 12
P3 3 12 36 33 21
Average Waiting Time = 0+5+12+21/4
= 38/4
= 9.5 ms
Average Turnaround Time = 6+13+22+33/4
=74/4
= 18.5 ms