A Simulator of Operating System Job Scheduling

Category:
Miscellaneous
Type:
Applications
Difficulty:
Intermediate
Author:
Dominic A. Cardella

Version Compatibility: Visual Basic 6

More information:
This an excellent tool for understanding simple scheduling algorithms due to the unique graphical display of the jobs generated and the batch's scheduling results.
  • Simulates the "Round-Robin" and a "Non-Preemptive" approach to job or process scheduling. Allows the user to randomly generate 4 jobs with a 50/50 CPU to I/O distribution for each job and view a graphical representation of how each job is scheduled. Rules for this implementation are: 1.) only 1 job is allowed to use the CPU per time slice, and 2.) there may be multiple I/O processes per time slice.
  • Each group of 4 jobs is called a batch. The user may schedule from 1 to 100 batches. There are two modes for displaying scheduling results. Validate mode allows the user to step-through and see the results of each batch. Production mode merely displays the average turn around time of all batches that have been scheduled.
  • This an excellent tool for understanding simple scheduling algorithms due to the unique graphical display of the jobs generated and the batch's scheduling results.
Dominic A. Cardella -- 26 Mar 2002

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download scheduler_v2.zip