Question: 1. Prove formally that the Shortest Job First scheduling algorithm is optimal in that it minimizes the average waiting time. For simplicity, assume that 1)
1. Prove formally that the Shortest Job First scheduling algorithm is optimal in that it minimizes the average waiting time. For simplicity, assume that 1) all n processes are already in the system at the time the scheduling decision has to be made and 2) all processes have arrived at the same time. Hint: Use the formula for average waiting time in the Lecture. Provide a complete mathematical proof (like induction proof) using formula and not using Gantt charts.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
