Six original Cambridge-style questions on process management and scheduling, including timeline calculations, with mark-scheme solutions.
Describe three ways in which an operating system can maximise the use of computer resources.
Describe the three process states and explain how a process moves from running to blocked and back.
Four processes arrive as follows: W at time 0 needing 7 ms, X at time 2 needing 4 ms, Y at time 4 needing 1 ms, Z at time 5 needing 4 ms. Using shortest remaining time scheduling, give the order in which the processor is allocated and calculate the average waiting time.
Jobs J1, J2 and J3 arrive together in that order, needing 5, 3 and 7 ms. Using round robin with a 2 ms time slice, state when each job finishes and calculate the average waiting time.
Explain how the kernel of the operating system uses interrupts to manage low-level scheduling.
A system runs many short interactive tasks and a few long batch jobs. Compare shortest job first with round robin for this system.
Mark this once you have attempted all six and checked your working. It records a Practiced badge on the topic and adds a one-time bonus. Revealing the solutions alone does not count.