Step 1: Understanding First-Come, First-Served (FCFS) Scheduling
- FCFS is a non-preemptive scheduling algorithm where processes execute in the order they arrive.
- The waiting time (WT) for each process is calculated as: \[ WT = \text{Turnaround Time} - \text{Burst Time} \]
Step 2: Computing Completion and Waiting Times The execution order is \( P_1, P_2, P_3, P_4, P_5 \).
Step 3: Calculating Average Waiting Time \[ \text{Average WT} = \frac{(0 + 8 + 14 + 15 + 24)}{5} \] \[ = \frac{61}{5} = 12.2 \text{ ms} \]
Step 4: Evaluating options:
- (A) Incorrect: 13.1 ms is an overestimation.
- (B) Incorrect: 15.5 ms is incorrect.
- (C) Incorrect: 16.4 ms is incorrect.
- (D) Correct: \( 12.2 \) ms matches the computed result.