In which of the following scheduling criteria, context switching will never…
2018
In which of the following scheduling criteria, context switching will never take place
- A.
Round Robin
- B.
Pre-emptive SJF
- C.
Non-Pre-emptive SJF
- D.
Preemptive priority
Attempted by 254 students.
Show answer & explanation
Correct answer: C
Pre-emptive scheduling algorithms like Round Robin and Pre-emptive SJF force context switches when time quanta expire or higher priority tasks arrive. In contrast, Non-Pre-emptive SJF allows the selected process to run until completion without interruption, ensuring no forced context switches occur during execution.
A video solution is available for this question — log in and enroll to watch it.