Priority Scheduling Algorithm   Non - Preemptive

Non - Preemptive Priority CPU Scheduling Algorithm is a non - preemptive method of CPU scheduling algorithm that works based on the priority of a process.
In this algorithm, the scheduler schedules the tasks to work as per the priority, which means that a higher priority process should be executed first. In case of any conflict, i.e., when there is more than one process with equal priorities, then the pre-emptive priority CPU scheduling algorithm works on the basis of FCFS (First Come First Serve) algorithm.

- Process with highest Priority ( in Magnitude ) is executed First

- This page demonstrates the Preemptive scheduling algorithm using JavaScript.

- Do's and Dont's





Process Information

Name Arrival Time Burst Time Priority




Gantt Chart

Process Start Time End Time



Results Table

Process Arrival Time Burst Time Priority Completion Time Turnaround Time Waiting Time
Average Waiting Time:
Average Turnaround Time: