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 05:00
Write a loop that reads positive integers from standard input and that terminates when it reads an integer that is not positive. after the loop terminates, it prints out, on a line by itself and separated by spaces, the sum of all the even integers read, the sum of all the odd integers read, a count of the number of even integers read, and a count of the number of odd integers read, all separated by at least one space. declare any variables that are needed. assume the availability of a variable, stdin, that references a scanner object associated with standard input. that is, stdin = new scanner(system.in); is given.
Answers: 3
question
Computers and Technology, 23.06.2019 21:30
Enzo’s balance sheet for the month of july is shown. enzo’s balance sheet (july 2013) assets liabilities cash $600 credit card $4,000 investments $500 student loan $2,500 house $120,000 mortgage $80,000 car $6,000 car loan $2,000 total $127,100 total $88,500 which expression finds enzo’s net worth?
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
question
Computers and Technology, 24.06.2019 12:30
Nikki sent flyers in the mail to all houses within the city limits promoting her computer repair service what type of promotion is this and example of
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
History, 22.09.2019 19:30
Questions on the website: 13722362