Intermediate Operating Systems
Q65 / 100

How does the Shortest Remaining Time First (SRTF) algorithm differ from non-preemptive SJF?

Correct! Well done.

Incorrect.

The correct answer is D) SRTF can preempt the running process if a newly arrived process has a shorter remaining burst time, while non-preemptive SJF runs a chosen process to completion

D

Correct Answer

SRTF can preempt the running process if a newly arrived process has a shorter remaining burst time, while non-preemptive SJF runs a chosen process to completion

Explanation

SRTF is the preemptive version of SJF: whenever a new process arrives with a shorter remaining time than the currently running one, the CPU is taken away and given to the new process, which can reduce average waiting time further at the cost of more context switches.

Progress
65/100