Skip to content

Round-Robin Process Scheduling Algorithm Simulator - Python

License

Notifications You must be signed in to change notification settings

ikalmikov16/Round-Robin-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Round Robin Process Scheduling Algorithm Simulator in Python

This project simulates a Round Robin Process Scheduler depending on the user input. The user inputs the number of processes, quantum time, and context-switch time. Then user also inputs burst time and arrival time for each process.

The program simulates the Round Robin Scheduler using the given processes. As it completes each process it calculates the completion times. With the completion times, it can calculate the turnaround and waiting times simply.

As it simulates, the program displays a Gantt Chart and marks the beginning and end of each process quantum run and context-switch. Finally, the Program displays table lisiting each process with its arrival, burst, completion, turnaround, and waiting times. It also displays the average turnaround and waiting times.

Installation Instructions for Users

  • Download Python
  • Download Python tabulate (used to display final results in a nice table)
  • Execute main.py in Terminal
  • For all inputs please use integers greater than -1 (Program does not account for input errors)

About

Round-Robin Process Scheduling Algorithm Simulator - Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages