Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following set of processes, with the length of the CPU burst given in milliseconds: Process burst time priority P1 5 4 P2 3

Consider the following set of processes, with the length of the CPU burst given in milliseconds:

Process burst time priority

P1 5 4

P2 3 1

P3 1 2

P4 7 2

P5 4 3

The processes are assumed to have arrived in order P1, P2, P3 P4 P5 all at the time 0.

A. Draw 4 Gantt charts that illustrate the execution of these processes using the following scheduling algorithms: FCFS, SJF, Non-preemptive priority ans RR (quantum = 2)

B. What is the turnaround time of each process in part a.

C. What is the waiting time of each process for each scheduled algorithms

D. Which of the algorithms results in the min avg waiting time overvall processes

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: Jay Greenspan, Brad Bulger

1st Edition

978-0764535376

More Books

Students also viewed these Databases questions