Question: We learned several CPU scheduling algorithm in class. Your task for this project is to simulate the round robin CPU scheduling with time quantum =
We learned several CPU scheduling algorithm in class. Your task for this project is to simulate the round robin CPU scheduling with time quantum ms algorithm using an input file containing jobs for CPU
Project Details:
Input:
Job.txt is provided as input file. Each line contains the name of the job, requesting time millisecond since computer started and duration millisecond For example:
Job
means a job for CPU called Job is requested to run at ms since CPU started, and the duration of the job is ms
Output:
Schedule job order similar to the following format
$Job scheduled for ms
$Job scheduled for ms
$Job scheduled for ms
$Job scheduled for ms
$Job scheduled for ms completed
$job scheduled for ms completed
Because round robin is deterministic, you should see the same job scheduling result every time you run your code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
