OS function: handling interrupts
The OS receives each interrupt, picks the right ISR to run, manages priorities, then passes control back to the interrupted program so it can carry on.
Understanding OS function: handling interrupts in IGCSE Computer Science Paper 1
What it does: The pseudocode compares priorities, which is how the OS decides which interrupt to deal with first. The OS runs the ISR, then restores the saved state and resumes the interrupted program. The OS is the software in control. It receives each interrupt and picks the right interrupt service routine (ISR) to run. The OS manages interrupt priorities. A high priority interrupt, such as a power failure, is handled before a low priority one. Each type of interrupt has its own ISR. The OS selects the one that matches the source of the interrupt. Interrupt handling is an OS function. Like managing peripherals and multitasking, it is done by system software.
Common mistakes: After the ISR finishes, the OS must pass control back to the interrupted program so it can carry on. It should not delete it. The line should be: OS resumes the paused program. The OS only selects an ISR when an interrupt has been received. The condition should be: IF interrupt received THEN.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 409–418) and word search (Modules 390–418).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
OS interrupt handlingFill in the Blanks
Spot the Error
Student with a class code? Join your class →