Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

answer all Question 2 (15 Marks) a) In a round robin scheduling algorithm, explain the impact of the choice of the time quantum q on

image text in transcribed answer all

Question 2 (15 Marks) a) In a round robin scheduling algorithm, explain the impact of the choice of the time quantum q on short versus long processes [2Marks) b) Describe two direct conditions that must hold true for a deadlock to occur. [2Marks] c) Describe the producer consumer problem and how a synchronization technique can be used to solve [4Marks] it. d) Four process P1, P2, P3 and P4 have burst times of 9, 15, 6 and 4 respectively. If they all arrive at time zero, calculate the average waiting time for the processes if the scheduling algorithm in use is SJF. [2 Marks]

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

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

What is focal length? Explain with a diagram and give an example.

Answered: 1 week ago

Question

What is physics and how does it apply in daily life?

Answered: 1 week ago

Question

=+ How would you advise those problems be resolved?

Answered: 1 week ago