Worked solution from the System Software Paper 3 Advanced Theory booklet, Part 1 of 2.
Write any two of these:
The kernel receives a signal when an interrupt is generated. [1]
It checks the priority of the interrupt against the current process. [1]
It uses the interrupt dispatch table to find the routine, and saves the state (register contents) of the interrupted process on the kernel stack. (also scores)
When the interrupt has been handled the kernel restores the saved state. (also scores)
Any two points score.
Multi-tasking lets a computer carry out, or seem to carry out, more than one process at a time. [1]
Write any two of these:
Processor time and other resources are shared between the tasks. [1]
Scheduling decides which process runs, so tasks do not clash. [1]
A task of higher priority can interrupt a running task. (also scores)
Any two points score.
▶ Whole paper
Video solution of the whole paper · by Zafar Ali Khan (ZAK). Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.