Shortest Job First Scheduling Algorithm:

Introduction:

The shortest job first (SJF) or shortest job next, is a scheduling policy that selects the waiting process with the smallest execution time to execute next. SJN, also known as Shortest Job Next (SJN).

Characteristics:

Demo:

Note: Number of Arrival Times must be equal to the number of Burst Times