Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following three processes that arrive in a system at the specified times, along with the duration of their CPU bursts. Calculate the completion

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Consider the following three processes that arrive in a system at the specified times, along with the duration of their CPU bursts. Calculate the completion time of the three processes, the average turnaround time (tt), and the average response time (rt) under each of the following scheduling policies. Scheduler: First Come First Serve The completion time of P1 is The completion time of P2 is The completion time of P3 is The average turnaround time is . Note: An equation like (tt1+tt2+tt3)/3 is exactly what wanted and in the sequence of TT for P1, P2 and then P3! The average response time is . Note: An equation like (rt1+rt2+rt3)/3 is exactly what wanted and in the sequence of RT for P1,P2, and then P3 ! Scheduler: Shortest Job First (non-preemptive) The completion time of P1 is The completion time of P2 is The completion time of P3 is The average turnaround time is Note: An equation like (tt1+tt2+tt3)/3 is exactly what wanted and in the sequence of TT for P1,P2 and then P3 ! The average response time is . Note: An equation like (rr1+rt2+rt3)/3 is exactl what wanted and in the sequence of RT for P1,P2 and then P3! Scheduler: Shortest Remaining Time First (preemptive) The completion time of P1 is The completion time of P2 is The completion time of P3 is The average turnaround time is Note: An equation like (tt1+tt2+tt3)/3 is exactly what wanted and in the sequence of TT for P1,P2 and then P3! The average response time is . Note: An equation like (rt1+rt2+rt3)/3 is exactly what wanted and in the sequence of RT for P1,P2 and then P3 ! Scheduler: Round robin with a time slice of 3 The completion time of P1 is The completion time of P2 is The completion time of P3 is The average turnaround time is . Note: An equation like (tt1+tt2+tt3)/3 is exactly what wanted and in the sequence of TT for P1,P2 and then P3 ! The average response time is . Note: An equation like (rr1+rt2+rt3)/3 is exactly what wanted and in the sequence of RT for P1, P2 and then P3

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

Step: 3

blur-text-image

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

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

ISBN: 0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

What is the main rule of a Max - heap ( or min - heap ) ?

Answered: 1 week ago