Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 4 : Which scheduling algorithm has minimum waiting time? [ 2 0 ] Consider the following set of processes with their arrival time and

Task 4: Which scheduling algorithm has minimum waiting time?
[20]
Consider the following set of processes with their arrival time and the CPU burst time (in milliseconds)
\table[[Process ID,Arrival Time,Burst Time (ms)],[P1,0,11],[P2,5,3],[P3,1,7],[P4,6,4],[P5,8,5]]
Calculate the average turn around time and average waiting time if CPU scheduling policy is:
a) is FCFS
b) Non-pre-emptive FSJ
c) Pre-emptive FSJ.
d) Non-preemptive priority with the following priorities for 2,0,3,1,4 for P1, P2, P3, P4, and P5, respectively. 0 is the highest priority.
e) Pre-emptive priority
f) Round-Robin with quantum time of 3ms.
image text in transcribed

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

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions

Question

What is DDL?

Answered: 1 week ago