How an interrupt is generated
A signal sent to the CPU by a device (hardware) or a running program (software) when an event, such as a key press, needs the CPU's attention.
Understanding How an interrupt is generated in IGCSE Computer Science Paper 1
What it does: A divide by zero error occurs inside a running program, so the software sends an interrupt signal to the CPU. An interrupt is generated when an event happens that needs attention, and a signal is then sent to the CPU. The keyboard is a hardware device, so a key press makes it send an interrupt signal to the CPU.
Common mistakes: An interrupt signal is sent to the CPU, not to the printer. The line should be SEND interrupt TO CPU. The running program reports its error by sending the interrupt signal to the CPU. The mouse does not receive it. It should be SEND interrupt TO CPU.
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
interrupt signalFill in the Blanks
Spot the Error
Student with a class code? Join your class →