subject

See the following set of processes, with the time required to run in the Burst Time column given in milliseconds.
Process Burst Time Priority

P1. 5 4

P2. 3 1

P3. 1. 2

P4. 7 2

P5. 4 3
Assume that processes come in order P1, P2, P3, P4, P5, at time 0

a. Draw four Gantt charts that illustrate the execution of these processes in turn using the following scheduling algorithms: FCFS, SJF, non-preemptive priority (larger priority number) implies higher priority) and RR (amount of time = 2).
b. What is the turnaround time for each process for each scheduling algorithm in part a?
c. What is the waiting time of each process for each process in each algorithm?
d. Which algorithms result in the smallest average waiting time (across all processes)?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:30
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
question
Computers and Technology, 24.06.2019 08:50
Write a program that will compute the volume of ice cream served in a cone. as you can see in the diagram below, the ice cream is served as a hemisphere of frozen deliciousness on top of a cone, which is also packed with frozen deliciousness. thus, the total volume of ice cream sold is the volume of the hemisphere plus the volume of the cone. the example shows an ice cream cone in which the hemisphere and cone have a radius of 10 inches and the cone has a height of 15 inches. your program must instead prompt for these two values, which are taken from the keyboard as integers: • the hemisphere/cone radius in inches, and
Answers: 3
question
Computers and Technology, 24.06.2019 09:00
Why might you chose to crest a function resume
Answers: 1
question
Computers and Technology, 24.06.2019 09:00
Technician a says that a new replacement part is always good. technician b says that sometimes recent repair work will be the cause of a complaint. who is correct? a. both technicians a and b b. technician a c. technician b d. neither technician a nor b
Answers: 3
You know the right answer?
See the following set of processes, with the time required to run in the Burst Time column given in...
Questions
question
Mathematics, 28.06.2019 01:30
question
Social Studies, 28.06.2019 01:30
Questions on the website: 13722363