Question: 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

 answer all Question 2 (15 Marks) a) In a round robin 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!