Answer: 9.5 : 9.5
To find the average waiting time, we trace the execution order of the 10 processes using the First Come First Serve (FCFS) scheduling policy. The CPU burst times are 6 seconds for Actuators (A) and 8 seconds for Controllers (C).
The chronological order of arrivals and execution is detailed below:
| Process |
Arrival Time (t) |
Burst Time |
Start Time |
Waiting Time (Start − Arrival) |
| A1 |
10 |
6 |
10 |
10−10=0 |
| C1 |
11 |
8 |
16 |
16−11=5 |
| A2 |
20 |
6 |
24 |
24−20=4 |
| C2 |
22 |
8 |
30 |
30−22=8 |
| A3 |
30 |
6 |
38 |
38−30=8 |
| C3 |
33 |
8 |
44 |
44−33=11 |
| A4 |
40 |
6 |
52 |
52−40=12 |
| C4 |
44 |
8 |
58 |
58−44=14 |
| A5 |
50 |
6 |
66 |
66−50=16 |
| C5 |
55 |
8 |
72 |
72−55=17 |
Now, we calculate the total waiting time for all 10 processes:
Total Waiting Time=0+5+4+8+8+11+12+14+16+17=95 seconds
The average waiting time is:
Average Waiting Time=1095=9.5 seconds