All Exams Test series for 1 year @ ₹349 only
Question

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

The correct answer is

None of these; all can involve context switching.

Context switching can occur when a running process finishes or blocks, as well as when it is preempted. Even non-preemptive SJF can switch to another process after completion or blocking. Thus no scheduling algorithm listed guarantees that context switching will never occur.

Was this answer helpful?

Important Questions from Process Scheduling - Teaching

  1. Consider the following 3 processes with the length of the CPU burst time given in milliseconds :

    ProcessArrival TimeBurst Time
    P108
    P214
    P329

    What is the average waiting time for these processes if they are scheduled using preemptive shortest job first scheduling algorithm?

  2. Consider the following four processes with the arrival time and length of CPU burst given in milliseconds :

    ProcessArrival TimeBurst Time
    P 108
    P 214
    P 329
    P 435

    The average waiting time for preemptive SJF scheduling algorithm is

  3. Which of the following is not a CPU scheduling Algorithm?

  4. Which of the following statement(s) is/are true about CPU scheduling algorithm?

    I. Shortest remaining time first scheduling may cause starvation

    II. Round Robin is better than First Come First Serve in terms of response time

  5. A process residing in main memory and ready and waiting for execution, is kept on

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App