ISRO | ISRO CS 2007 | Question 11
Consider a set of n tasks with known runtimes r1, r2….rn to be run on a uniprocessor machine. Which of the following processor scheduling algorithms will result in the maximum throughput?
(A) Round Robin
(B) Shortest job first
(C) Highest response ratio next
(D) first come first served
Explanation: Throughput means total number of tasks executed per unit time i.e. sum of waiting time and burst time.
Shortest job first scheduling is a scheduling policy that selects the waiting process with the smallest execution time to execute next.
Thus, in shortest job first scheduling, shortest jobs are executed first. This means CPU utilization is maximum. So, maximum number of tasks are completed.
Option (B) is correct.
Quiz of this Question