This project implements two process scheduling algorithms: First Come First Serve (FCFS) and Round Robin (RR). The goal of this project is to collect data about these algorithms and compare their results. Additionally, a graphical user interface (GUI) has been added to visualize the FCFS and RR algorithms in action.
Implementation of First Come First Serve (FCFS) algorithm using a priority queue. Implementation of Round Robin (RR) algorithm with various time slices and context switches using a min heap. A graphical user interface (GUI) for visualizing the FCFS and RR algorithms.
To try out the project, you can download the executable JAR file provided in this repository.
- Java Runtime Environment (JRE) installed on your system.
- Download the process-scheduling.jar file from this repository.
- Open a terminal or command prompt.
- Navigate to the directory where you downloaded the JAR file.
- Run the following command to execute the application:
java -jar process-scheduling.jar
Or simply double click the executeable file in your file explorer
Once the application is running, you can use the GUI to:
- Start and stop the First Come First Serve (FCFS) algorithm.
- Adjust parameters for the Round Robin (RR) algorithm, such as time slices and context switches.
- Visualize the execution of both algorithms.
- Collect and compare data about the scheduling performance.
If you'd like to contribute to this project or report any issues, please feel free to submit a pull request or open an issue on GitHub.
This project was created as a requirement for a course on Operatin Systems. Special thanks to the Dr. Shen the course instructor for guidance and support.