Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q4. Consider the following 5 processes and their arrival and CPU times. CPU time (CPU burst length) Arrival time 0 15 A B 50 80

image text in transcribed

Q4. Consider the following 5 processes and their arrival and CPU times. CPU time (CPU burst length) Arrival time 0 15 A B 50 80 1 D E 35 55 65 40 20 50 Assume that in case of a tie, a process with lower ID enters the ready-queue first. A has lower ID than B, for example. For each of the following scheduling algorithms, find out the finish time and total waiting time in the ready queue for each process. a) RR scheduling with q = 30 ms. b) RR scheduling with q = 10 ms. c) RR scheduling with q = very very small (much smaller than 1, i.e., close to 0; perfect sharing). d) SRJF. e) FCFS

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

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions