Q126: Comparing process scheduling algorithms

Question #126: Which of the following is not true?

Options:

  1. Long jobs can be starved in SJF (Shortest Job First) algorithm.
  2. Prediction of future is required in SRTF (Shortest Remaining Time First) algorithm.
  3. High turnaround time for equal length jobs in RR (Round Robin) algorithm.
  4. If pre-emption is allowed for SJF, it will be better than SRTF.

Solution: The correct answer is the last one. If pre-emption is allowed for SJF, it will be same as SRTF.