Which one of the following CPU scheduling algorithms cannot be preemptive?
B
Step-by-Step Solution
Insight: This is a definition-based MCQ testing which algorithm fundamentally cannot be preemptive. The key is to recall the strict definition of each algorithm.
Exam route: SRTF is by definition preemptive. Round Robin uses time slicing, so it is preemptive. Priority scheduling can be either. FCFS, by definition, gives the CPU to the first process and never takes it away until completion or I/O block. Answer: B.
Learning route:
Step 1: Shortest Remaining Time First (SRTF) is the preemptive version of SJF. It preempts whenever a newly arrived process has a shorter remaining burst. So SRTF is preemptive. Option A is wrong.
Step 2: First Come First Serve (FCFS) allocates the CPU to the first process that arrives in the ready queue. Once allocated, the process runs until it terminates or blocks for I/O. There is no mechanism in FCFS to interrupt a running process. Therefore, FCFS is strictly non-preemptive. Option B is correct.
Step 3: Round Robin (RR) uses a fixed time quantum. If a process does not finish within its quantum, it is preempted and moved to the tail of the ready queue. RR is inherently preemptive. Option C is wrong.
Step 4: Priority Scheduling can be implemented as either preemptive or non-preemptive. In preemptive priority, a newly arriving higher-priority process preempts the current one. In non-preemptive priority, the current process runs to completion. Since it can be preemptive, Option D is wrong.
Final answer: B.