Computers and Technology

Consider the following set of processes, with the length of the cpu burst given in milliseconds: process burst time priority p1 2 2 p2 1 1 p3 8 4 p4 4 2 p5 5 3 the processes are assumed to have arrived in the order p1, p2, p3, p4, p5, all at time 0.

a. draw four gantt charts that illustrate the execution of these processes using the following scheduling algorithms: fcfs, sjf, nonpreemptive priority (a larger priority number implies a higher priority), and rr (quantum = 2).
b. what is the turnaround time of each process for each of the scheduling algorithms in part a?
c. what is the waiting time of each process for each of these scheduling algorithms?
d. which of the algorithms results in the minimum average waiting time (over all processes)

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:10, golderhadashaowtatz
Which are not examples of chronic or persistent stress? moving
Answers: 1
image
Computers and Technology, 22.06.2019 19:20, manny2085
Amedian in the road will be marked with a white sign that has a black arrow going to the left of the median. true false
Answers: 1
image
Computers and Technology, 23.06.2019 07:30, kimhoss2
What are ways to switch windows in excel? check all that apply. on the status bar, click the windows button, and then click the file name. on the task bar, click to display the excel jump list, and then click the file name. on the view tab, in the window group, click switch windows, and then click the file name. on the review tab, in the viewing group, click files, and then click the file name.
Answers: 1
image
Computers and Technology, 23.06.2019 09:30, nsjcbdhcb
Light travels at a speed of 186,000 miles a second. the distance light travels in a year is 5,865,690,000,000 miles/year 5,865,695,000,000 miles/year 58,656,950,000,000 miles/year 6,789,000,0000 miles/year
Answers: 1
Do you know the correct answer?
Consider the following set of processes, with the length of the cpu burst given in milliseconds: pr...

Questions in other subjects: