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 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
Get step-by-step solutions from verified subject matter experts
