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

  1. A.

    Round Robin

  2. B.

    Pre-emptive SJF

  3. C.

    Non-Pre-emptive SJF

  4. 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.

Explore the full course: Mppsc Assistant Professor