11. (a) Explain why newly created processes have to go onto the operating system's ready queue and cannot by allocated t
Posted: Thu May 26, 2022 9:32 am
11. (a) Explain why newly created processes have to go onto the operating system's ready queue and cannot by allocated to the CPU immedi- ately (3 marks) (b) Consider three CPU-intensive process that require 10, 20 and 30 units of time to complete, and arrive at times 0, 2 and 6 respectively. How many context switches are needed if the OS implements a shortest remaining time first scheduling algorithm. Do not count context switches at the start and end of each process (7 marks). (c) What is process starvation and which amongst the following schedul- ing algorithms is susceptible to it: first in first out, shortest remaining time first and round robin (5 marks).