Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Process Burst Time (ms) Priority Arrival time (ms) P1 10 3 0 P2 2 1 1 P3 4 3 2 P4 1 4 3 P5

Process Burst Time (ms) Priority Arrival time (ms)
P1 10 3 0
P2 2 1 1
P3 4 3 2
P4 1 4 3
P5 6 2 4

image text in transcribedTasks

1.What is the average waiting time if SJF with preemption algorithm is used? Use "Arrival time" column.

2.What is the average waiting time if nonpreemptive priority algorithm is used? Use "Priority" column.

3.What is the average waiting time if RR (quantum = 1) algorithm is used? Ignore the arrival delay.

4.What is the average waiting time if RR (quantum = 2) algorithm is used? Ignore the arrival delay.

5.What is the average waiting time if processes arrive in the reverse order (P5, P4, ... , P1) and RR (quantum = 2) algorithm is used? Ignore the arrival delay.

6.What is the average waiting time if RR (quantum = 4) algorithm is used? Ignore the arrival delay.

7.What is the average waiting time if processes arrive in the reverse order (P5, P4, ... , P1) and RR (quantum = 4) algorithm is used? Ignore the arrival delay

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago