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, 22.06.2019 18:10
Assume that to_the_power_of is a function that expects two int parameters and returns the value of the first parameter raised to the power of the second parameter. write a statement that calls to_the_power_of to compute the value of cube_side raised to the power of 3 and that associates this value with cube_volume.
Answers: 1
question
Computers and Technology, 24.06.2019 07:30
Consider the folloeing website url: what does the "http: //" represent? a. protocal identifier. b. ftp. c. domain name d. resource name
Answers: 2
question
Computers and Technology, 24.06.2019 10:20
Multiple choice project create a program with two multiple choice questions. 1. users have two attempts only, show attempt number each time. hint: while loop with break control. (20%) 2. only one correct answer for each question, use switch case for each question. (20%) 3. show total score after the two questions are answered. hint: . (20%) 4. user have options to answer the two questions again if first attempt score is not 100%. hint: if statment. (20%) 5. use string method .toupper() to allow users to enter with lowercase or uppercase letters. (20%) 1. where is the capital of the state of florida? a. orlando b. tallahassee c. miami d. tampa b 2. where is walt disney world park located in florida? a. orlando b. tallahassee c. miami d. tampa a
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
How does the use of e-mail benefit business communications? it can be sent at any time. it is faster than regular mail. it improves writing skills. it is less expensive than using a courier. it reduces the need for proofreading.
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
question
English, 12.10.2019 12:30
question
Mathematics, 12.10.2019 12:30
question
English, 12.10.2019 12:30