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: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 21:30, elsauceomotho
Im doing this last minute and literally none of my neighbors or people that my dad works with use excel so if anyone could me make up an example
Answers: 1
image
Computers and Technology, 23.06.2019 04:31, Remba
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
image
Computers and Technology, 23.06.2019 06:00, sebcbal
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
image
Computers and Technology, 24.06.2019 14:00, superstarsara5ouh83x
Fast answer i need for apex ! smartphones should be banned from the classroom in public schools so that students cannot cheat on test so easily? which is an example of a counter argument to the thesis above? a. the classroom is a place for learning not for making phone calls b. smartphones are useful learning tools in the modern classroom c. banning smartphones will not students pay attention to teachers any better d. banning smartphones would decreased incidents of theft
Answers: 2
Do you know the correct answer?
Consider the following set of processes, with the length of the cpu burst given in milliseconds:

Questions in other subjects:

Konu
Biology, 24.07.2019 09:20