logo

Crowdly

Three processes A, B and C are admitted into the ready queue by the long-term s...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Three processes A, B and C are admitted into the ready queue by the long-term scheduler. The processes are admitted -- first process C, then B, and then A -- without any delay between the admissions. The short-term scheduler uses a Round-Robin scheduling policy to assign processes to run on the CPU. The time quantum is q ns. The CPU burst times t subscript Ans, t subscript Bns and t subscript Cns (for  A, B and C respectively) are all multiples of q.  Assume q less than t subscript A less than t subscript B less than t subscript C, the processes make no I/O requests, and all of the processes successfully complete. You may also assume that no other processes or OS activity are important for your computations. 

Based only on the information given, which of the following formulae is the average wait time for these 3 processes? 

Hint: to deduce the correct average wait time, use 1) the correct formula for the average turnaround time from the last question, and 2) the relationship between turnaround times and wait times. 

More questions like this

Want instant access to all verified answers on moodle4.city.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!