This project is a simulation of the Shortest Job First (SJF) preemptive or shortest-remaining-time-first scheduling algorithm. It allows you to add processes to a scheduler, and then simulate the execution of the processes using the Shortest Job First (SJF) algorithm. The scheduler prioritizes the execution of processes with the shortest burst time, and can interrupt a running process to give CPU time to another process with a shorter burst time.
- Add new process with its ID, arrival time, and burst time
- Run the scheduler and simulate the execution of the processes using the SJF Preemptive algorithm
- Display the process list and the result of the scheduling in the table
- Clone the repository to your local machine
- Open the
index.html
file in your browser - Use the form to add processes to the scheduler
- Click the "Run Scheduler" button to simulate the execution of the processes
- HTML
- CSS
- JavaScript
- Bootstrap
Please feel free to contribute by reporting any issues or by creating pull requests to the repository.
Sajmir Doko
The project is based on the simulation of the SJF Preemptive scheduling algorithm. More information about the algorithm can be found in various Operating System textbooks.
this is a basic simulation of the algorithm, and it can be enhanced as per your requirements.