Question: Dr . Marwan, an avid supporter of competitive programming, is excited to announce a new challenge for his students. As a big fan of process

Dr. Marwan, an avid supporter of competitive programming, is excited to announce a new challenge for his students. As a big fan of process scheduling algorithms, he has designed a problem that will test the students understanding and implementation skills of the round-robin scheduling algorithm.
In this challenge, you are tasked with simulating the round-robin scheduling algorithm. You will read the details of various processes from a file, execute them according to the Round Robin policy, and then calculate and display important metrics, such as Turnaround, response, and waiting times.
The challenge includes reading the data from the processes from the ready queue (file) and then passing this file to a round-robin scheduler, which will create the Ready Queue and start executing the processes in the queue
In the beginning, you will be prompted for the input file name and then the quantum time and the program will display the expected results as:
Enter the filename: processes.txt
Enter the quantum time period (in milliseconds): 200
Read Processes:
1: Arrival Time =0, Burst Time =30
22: Arrival Time =100, Burst Time =200
p3: Arrival Time =20, Burst Time =500
p4: Arrival Time =50, Burst Time =200
p5: Arrival Time =30, Burst Time =90
Gantt Chart:
Average Response Time: 180.00
Average Waiting Time: 482.00
Average Turnaround Time: 482.00
The Job Queue file will look :Figure 1 Sample Input File
Submission policy:
This is a group work project worth 10 marks.
Each group must not exceed 3 students.
The work will be tested with various files from our end.
A random discussion will take place with your course instructors.
The submission due time is Monday 27th May by 23:59 p.m.
Submission on the edugate as a code file.
 Dr. Marwan, an avid supporter of competitive programming, is excited to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!