Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 roundrobin scheduling algorithm.
In this challenge, you are tasked with simulating the roundrobin 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.s
The challenge includes reading the data from the processes from the ready queue file and then passing this file to a roundrobin 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:
Gantt Chart:
Average Response Time:
Average Waiting Time:
Average Turnaround Time:
Figure Sample Input File
Submission policy:
This is a group work project worth marks.
Each group must not exceed 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 th May by : pm
Submission on the edugate as a code file.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started