Question: c) Assuming that four processes P1, P2, P3 and P4 arrive at differnt time. The burst time of the jobs and arrival time are

c) Assuming that four processes P1, P2, P3 and P4 arrive at differnt time. The burst time of the jobs and arrival time are given in Table B3. Burst time (min) Arrival time (min) Order 1 Process P1 2 2 P2 4 3 P3 8 4 P4 6 Table B3 0 4 3 2 Calculate the average turnaround time and average waiting time for the 4 processes above using the First-Come-First-Serve (FCFS) process scheduling. Show your workings. [6 marks] (c) FCFS AT BT CT TAT Wait Time 1st PI 4th P2 3rd P3 2nd P4 0 2 2 2 4 4 20 16 12 3 8 16 13 5 2 b 8 6 10 P1 2 P4 P3 8 16 Average TAT= = 2+16 +13 +6 4 9.25 seconds // P2 20 Average Wait Time = = 0+12+5+0 4 4.25 seconds
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
