This is a simple project for simulating an operating system task scheduler. Make sure java is installed on your machine before attempting to compile
- First-Come-First-Serve (FCFS)
- Shortest-Job-First (SJF)
- Round-Robin with time quantum = 20
- Round-Robin with time quantum = 50
- Lottery with time quantum = 50
- Navigate to source code folder in command line
javac ProcessScheduler.java
java ProcessScheduler data_file.dat
Each line of the text files needs to contain data about the processes
The line structure is as follows:
- Process ID
- Burst time
- Priority