Answered step by step
Verified Expert Solution
Link Copied!

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 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.s
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:
Gantt Chart:
Average Response Time: 180.00
Average Waiting Time: 482.00
Average Turnaround Time: 482.00
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.
Language c++
Submission on the edugate as a code file.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

Students also viewed these Databases questions