All mock tests are FREE till 31 December — register to save your progress

In which of the following scheduling criteria, context switching will never take place?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. Non-preemptive SJF

Explanation

Under non-preemptive SJF a running process keeps the CPU until it finishes or blocks, so no pre-emptive context switch occurs.

More System Software and Operating System questions