StreakPeaked· Practice

ExamsGATETechnical

Consider an arbitrary set of CPU-bound processes with unequal CPU burst lengths submitted at the same time to a computer system. Which one of the following process scheduling algorithms would minimize the average waiting time in the ready queue?

  1. Shortest remaining time first
  2. Round-robin with time quantum less than the shortest CPU burst
  3. Uniform random
  4. Highest priority first with priority proportional to CPU burst length

Correct answer: Shortest remaining time first

Solution

Shortest remaining time first (SRTF) minimizes the average waiting time by always selecting the process with the least remaining CPU burst time, allowing shorter processes to complete quickly and reducing the waiting time for subsequent processes.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →