- A web based tool to generate gantt chart and calculate TAT (turnaround time) and WAT (waiting time) based on various scheduling algorithms.
- Prototype
- Web Link: https://process-scheduling-calculator-deploy.vercel.app/
- Shortest Job First / SJF (non-preemptive)
- Round-Robin / RR
- Priority (non-preemptive)
- Priority (preemptive)
- Next.js
- TypeScript
- JavaScript
- styled-components
- React (GUI)
-
Node.js (LTS Version)
-
After download, run the installer
-
Open command prompt/powershell
-
type
node -
If u see a welcome message (e.g. Welcome to Node.js v20.11.0.), means the installation is completed
-
Video Guide: https://youtu.be/06X51c6WHsQ?si=wbjHXc7zNlGM81Yw
- Open the process-scheduling-calculator folder in VSCode
- Open terminal
- Type the following commands in the terminal:
npm installnpm startnpm run dev- Click the link (e.g. - Local: http://localhost:3000)
- Ctrl + C to terminate
- Video Guide: https://youtu.be/WIBSPhffOHI?si=8K-aWrVBZmxrab0R
-
Choose your desired Algorithm in the dropdown menu.
-
Input the Arrival Times for the processes.
IMPORTANT: Please follow this format when typing the input:
- Input the arrival time of the first process, follow by a space, then type the arrival time of the second process
- E.g. 0 2 4 6 8 10
-
Input the Burst Times for the processes.
IMPORTANT: Please follow this format when typing the input:
- Input the burst time of the first process, follow by a space, then type the burst time of the second process
- E.g. 8 8 8 8 8 8
-
Input the Priority for the processes (Only applicable for Non Preemptive Priority & Preemptive Priority).
IMPORTANT: Please follow this format when typing the input:
- Input the priority of the first process, follow by a space, then type the priority of the second process
- E.g. 1 2 3 4 5 6
-
Input the Time Quantum for the processes (Only applicable for Round Robin).
IMPORTANT: Please follow this format when typing the input:
- E.g. 3
-
After completing the all the inputs required, click the
Calculatebutton to begin the calculation -
Output will be shown on the output panel.