Question: Consider the below table. Calculate the below given questions using FCFS and Shortest Remaining Time First Algorithm. S# Process ID Burst Time Arrival Time 1
Consider the below table. Calculate the below given questions using FCFS and Shortest Remaining Time First Algorithm.
| S# | Process ID | Burst Time | Arrival Time |
| 1 | P1 | 8 | 0 |
| 2 | P2 | 6 | 0 |
| 3 | P3 | 10 | 0 |
| 4 | P4 | 2 | 2 |
| 5 | P5 | 3 | 4 |
1) What is the average waiting time for all processes using FCFS?
2) What is the turnaround time for P5 using FCFS?
3) What is the Response time for P1 using FCFS?
4) What is the average waiting time for all processes using SRJF?
5) What is the turnaround time for P5 using SRJF?
6) What is the Response time for P1 using SRJF?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
