Shortest-Job-First ( SJF )
The shortest job first algorithm associates the length of the next CPU burst with each process. The CPU time is assigned to a process with the smallest next CPU burst time.Gantt Chart for SJFIf there are two processes with the same next CPU burst time, then FCFS algorithm is applied to them. Consider an example, … Read more