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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:20, kcameronanderso
What’s resistance in an electrical circuit ?
Answers: 1
image
Computers and Technology, 23.06.2019 11:30, kyraj21
Which excel file extension stores automated steps for repetitive tasks?
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, juliajordan427
Best laptops for college [$100-$500 range]?
Answers: 2
image
Computers and Technology, 25.06.2019 08:00, destineenikole175
Implement a document scanning function wordcountengine, which receives a string document and returns a list of all unique words in it and their number of occurrences, sorted by the number of occurrences in a descending order. if two or more words have the same count, they should be sorted according to their order in the original sentence. assume that all letters are in english alphabet. you function should be case-insensitive, so for instance, the words “perfect” and “perfect” should be considered the same word.
Answers: 1
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 in other subjects:

Konu
Mathematics, 24.05.2021 09:10
Konu
Mathematics, 24.05.2021 09:10
Konu
Mathematics, 24.05.2021 09:10
Konu
Mathematics, 24.05.2021 09:10