Skip to content

BingQuanChua/Process-Scheduling-Algo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

process-scheduling-algo

Process scheduling is the basis for multi-programmed operating systems. This program demonstrates the simulation of CPU scheduling algorithms by generating useful results.

This was a TC01 Operating System Assignment.

CPU Process Sceduling Algorithms

Featured Algorithms:

  1. First Come First Serve (FCFS)

  2. Preemptive Shortest Job First

  3. Non-Preemptive Shortest Job First

  4. Preemptive Priority

  5. Non-Preemptive Priority

  6. Round Robin

Screenshots

Basic UI

Running the program

Run ProcessScedulingAlgorithm.jar.

Instructions

  1. Select a scheduling algorithm from the drop-down list.
  2. Enter the Arrival Time, Burst Time and Priority (optional for some algorithms) for all the processes. You may click 'Add' or 'Remove' to change the number of processes.
  3. Click 'Calculate'. (for Round Robin Scheduling, a dialog box will pop up to prompt the value of Time Quantum)
  4. The program will generate all of the results. You may select a new algorithm and click 'Calculate' to generate a new set of results or just simply click 'Reset' to clear all the previously entered data.

About

Simulation of the CPU process scheduling algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages