Skip to content

Marois2000/Process-Scheduling-algorithm-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Process Scheduling Algorithm Project

Introduction

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.

Features

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.

Getting Started

To try out the project, you can download the executable JAR file provided in this repository.

Prerequisites

  • Java Runtime Environment (JRE) installed on your system.

Running the Application

  1. Download the process-scheduling.jar file from this repository.
  2. Open a terminal or command prompt.
  3. Navigate to the directory where you downloaded the JAR file.
  4. Run the following command to execute the application:
     java -jar process-scheduling.jar

Or simply double click the executeable file in your file explorer

Using the GUI

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.

Contributing

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.

Acknowledgments

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.

About

a graphical user interface (GUI) has been added to visualize the FCFS and RR algorithms in action.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages