For the following list of processes, the average turnaround time and average waiting time using FCFS algorithm is :
| Process | Arrival Time (ms) | Execution Time (ms) |
|---|---|---|
| P1 | 6 | 24 |
| P2 | 0 | 3 |
| P3 | 3 | 3 |
Tap to open full sizeFigure description
A table with three columns (Process, Arrival Time in ms, Execution Time in ms) and three rows: P1 arrives at 6 and executes 24; P2 arrives at 0 and executes 3; P3 arrives at 3 and executes 3.
- (A)
Average Turnaround time 30 ms and Average Waiting Time 4.5 ms
- (B)
Average Turnaround time 13 ms and Average Waiting Time 3 ms
- (C)
Average Turnaround time 10 ms and Average Waiting Time 0 ms
- (D)
Average Turnaround time 24 ms and Average Waiting Time 0 ms