Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

you can? B) On a system using preemptive scheduling, processes with expected run times of 5,18,9 and 12 are in the ready queue. Show in

you can?
image text in transcribed
image text in transcribed
image text in transcribed
B) On a system using preemptive scheduling, processes with expected run times of 5,18,9 and 12 are in the ready queue. Show in what order should they be run to minimize waiting time? (marks 3 ) (CLO 2) (marks 9) Q.3. The table below lists the arrival times to the ready queue and CPU burst times for 4 processes P1,P2,P3 and P4 : a. Find the Start time and End time of each process assuming the CPU uses FCFS scheduling b. Repeat, assuming that the CPU uses Shortest remaining time first (SRTF) scheduling. c. Draw the corresponding Gantt chart for the above two cases, a and b. d. Compare the average waiting time of the 4 processes in both cases: - The average waiting time under FCFS = - The average waiting time under SRTF = e. Write your comments

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

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions