IMPLEMENTATION - LONGEST JOB FIRST (LJF)



  • First, sort the processes in decreasing order of their Burst Time.

  • Choose the process having highest Burst Time among all the processes that have arrived till that time. Then process it for its burst time. Check if any other process arrives until this process completes execution.

  • Repeat the above both steps until all the processes are executed.
Invalid Input
PLAY
RESET
Average TAT : 0
Average WT : 0
Average RT : 0
ADD
PID AT BT ST CT RT WT TAT