CPU Scheduling questions

Q64

GATE CS 2026 CS-1SchedulingNAT2 marks
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 t=10,20,30,40,and 50t = 10, 20, 30, 40, \text{and } 50 (in seconds). Similarly, a new process of type C arrives at time t=11,22,33,44,and 55t = 11, 22, 33, 44, \text{and } 55 (in seconds). The CPU scheduling policy is First Come First Serve (FCFS). The first process of type A starts running at t=10t = 10 seconds. The average waiting time (in seconds) for the 10 processes is ___________. (rounded off to one decimal place)
Show answer without attempting

Answer: 9.5

Q23

GATE CS 2026 CS-2SchedulingMCQ1 mark−1/3 if wrong
Which one of the following CPU scheduling algorithms cannot be preemptive?
Show answer without attempting

Answer: B

0/20 correct0 marks

Related topics in Scheduling