Skip to content

MehrazRumman/Scheduling-Algorithm-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P03 Scheduling-Algorithm-Simulator

Description :

Simulator will show a graphical represestation of how processes done in a CPU . There are 5 Scheduling algorithm implemneted. They are :

  • First-Come, First-Served (FCFS) Scheduling.
  • Shortest-Job-Next (SJN) Scheduling.
  • Priority Based (PB) Scheduling.
  • Shortest Remaining Time First (SRTF).
  • Round Robin(RR) Scheduling. Each algorithm can be choosen by user . User can add process and select 6 CPUs max . GUI will show the realtime execution of the processes and create a Gantt chart.

Files

# File Description
1 Main.py Main driver of my project that launches Simulator.
2 fcfs.py Implementation of FCFS Scheduling algorithm.
3 pb.py Implementation of Priority Based Scheduling algorithm.
4 rr.py Implementation of Round Robin Scheduling algorithm.
5 sjf.py Implemnetation of sortest job first scheduling algorithm.
6 srtf.py Implementation of sortest remaining time first scheduling algorithm
7 cpu.py Hold CPU class .
8 process.py processing the input data
9 scheduler.py Record the history of the process.

Instructions

  • Make sure you install library PyQt5
  • Run the Main.py file then give all the necessary data.

Important

Total BT for a process = CPU Burst time + I/O Burst time + CPU Burst time.

I/O Burst time= I/O Burst time .

Screen Shots

Screenshot from 2022-04-21 20-12-53

Screenshot from 2022-04-21 20-13-05

Screenshot from 2022-04-21 20-13-50

Screenshot from 2022-04-21 20-13-52

Screenshot from 2022-04-21 20-13-55

Screenshot from 2022-04-21 20-13-57

VIDEO

assingment.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages