Which scheduling algorithm gives a minimum average waiting time?

2020

Which scheduling algorithm gives a minimum average waiting time?

  1. A.

    RR

  2. B.

    Priority

  3. C.

    SJF

  4. D.

    FCFS

Attempted by 231 students.

Show answer & explanation

Correct answer: C

Shortest Job First (SJF) scheduling algorithm is provably optimal because it minimizes the average waiting time for a given set of processes. By scheduling the process with the shortest CPU burst time first, the waiting times of subsequent longer processes are reduced, moving the overall mathematical average to its minimum possible value.

Thus, the correct option is C.

Explore the full course: Niacl Ao It Specialist