Difficulty: Easy
Correct Answer: preemptive scheduling
Explanation:
Introduction / Context:
Schedulers decide which process runs on the CPU at a given moment. Systems that must remain responsive or share the CPU among many tasks often interrupt a running process and switch to another ready process. Understanding this policy is critical for real time design, interactive systems, and general purpose OS behavior.
Given Data / Assumptions:
Concept / Approach:
Preemptive scheduling allows the OS to interrupt and switch out a running task, giving the CPU to another ready task. Time slicing and priority based preemption are common mechanisms. Non preemptive policies let a process run until it voluntarily yields, blocks, or completes, which can hurt responsiveness.
Step-by-Step Solution:
Verification / Alternative check:
Classic OS textbooks describe Unix like and modern Windows schedulers as preemptive, using time quanta and priorities to interrupt running processes.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
preemptive scheduling.
Discussion & Comments