Consider a CPU that has to execute two types of processes. The first type, Actuators (A), requires a CPU burst of 6 seconds. The second type, Controllers (C), requires a CPU burst of 8 seconds. A new process of type A arrives at time , , and 50 (in seconds). Similarly, a new process of type C arrives at time , and 55 (in seconds). The CPU scheduling policy is First Come First Serve (FCFS). The first process of type A starts running at seconds. The average waiting time (in seconds) for the 10 processes is . (rounded off to one decimal place)
GATE CSE 2026Operating System › CPU SchedulingVerified
GATE CSE 2026 PYQ: Consider a CPU that has to execute two types of processes. The first type, Actuators (A), requires a CPU…
Answer
9.5
Approach
Simulate the non-preemptive FCFS schedule. Since FCFS always runs the ready process that arrived earliest, determine the completion order by comparing arrival times at each scheduling point, then compute each process's waiting time as start time minus arrival time.
The FCFS schedule produces a total waiting time of 95 seconds over the 10 processes, giving an average waiting time of 9.5 seconds.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.