CS FundamentalsHardProduct-company MCQ pattern

In preemptive SRTF, a running process can be interrupted the instant a newly arrived process has a strictly smaller remaining burst. Why is this preemption check unnecessary at every single tick for non-preemptive SJF?

  1. A. Because non-preemptive SJF only re-selects the next process when the CPU becomes free (the running process is never interrupted), so comparisons against the running process's remaining time are irrelevant until it finishes
  2. B. Because non-preemptive SJF has no concept of burst time
  3. C. Because ties cannot occur under non-preemptive SJF
  4. D. Because non-preemptive SJF never looks at remaining burst at all

Correct answer: A. Because non-preemptive SJF only re-selects the next process when the CPU becomes free (the running process is never interrupted), so comparisons against the running process's remaining time are irrelevant until it finishes

Non-preemptive SJF commits to a process once started: it only compares candidates in the ready queue at the moment the CPU is free (idle or a process just completed), never mid-burst. SRTF, being preemptive, must re-evaluate on every new arrival in case a shorter job has just shown up.

More Operating Systems questions

Exams that ask this topic