subject

Process ID Arrival time CPU-burst time Priority Number of turns in the round P1 0 160 50 1
P2 1 200 30 2
P3 120 140 8 4
P4 130 160 19 3

A student decided to use Round Robin with time quantum 40 milliseconds. Then, he was asked to take into account processes priorities. So, he decided to give more time quantum turns to processes proportional to its priority and the below table shows number of turns in one round for each process according to his scheme. Of course the ready queue is order according to the arrival time.
Consider the following set of processes, with their priorities and number of turns, arrival times and the CPU-burst times given in milliseconds.
1. Find out the following for both Round Robin with time quantum 40 milliseconds and the modified Round Robin scheduling described above:
a. Draw the Gantt chart. (12 marks)
b. Fill in the above table. (8 marks)
c. Calculate the average waiting time (2 marks)
2. After solving the previous question, analyze the results and in 250-300 words discuss the following with your own words:
a. Do you think that the student's modifications were good for processes with high priorities? How other low priority processes were affected? Support your answer with calculated figures. (6 marks)
b. Discuss any recommendations to improve the student's solution?
(2 marks)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:30
Type the correct answer in the box. spell all words correctly.what kind of graph or chart does this image represent? the given image represents a (blank).
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
Write a grading program for a class with the following grading policies: a. there are two quizzes, each graded on the basis of 10 points. b. there is one midterm exam and one final exam, each graded on the basis of 100 points. c. the final exam counts for 50% of the grade, the midterm counts for 25%, and the two quizzes together count for a total of 25%. (do not forget to normalize the quiz scores. they should be converted to a percentage before they are averaged in.) any grade of 90 or more is an a, any grade of 80 or more (but less than 90) is a b, any grade of 70 or more (but less than 80) is a c, any grade of 60 or more (but less than 70) is a d, and any grade below 60 is an f. the program will read in the student’s scores and output the student’s record, which consists of two quiz and two exam scores as well as the student’s average numeric score for the entire course and final letter grade. define and use a structure for the student reco
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
Match the file formats with the types of multimedia they can store
Answers: 2
You know the right answer?
Process ID Arrival time CPU-burst time Priority Number of turns in the round P1 0 160 50 1
P2...
Questions
question
English, 21.04.2021 15:50
question
Chemistry, 21.04.2021 15:50
question
Mathematics, 21.04.2021 15:50
Questions on the website: 13722361