Six original Cambridge-style questions on interrupts and interrupt handling, with mark-scheme style solutions.
State what is meant by an interrupt.
Give three different possible causes of an interrupt.
Describe how the processor detects and handles an interrupt.
Explain why interrupts are only detected at the end of a fetch-execute cycle.
During a program, a printer "paper out" interrupt (priority 2) and a mouse movement interrupt (priority 1) arrive in the same cycle. Then, while the first ISR runs, a hard disk error interrupt (priority 4) arrives. State the order in which the three ISRs start, and the order in which the tasks are completed.
A student says: "When an interrupt happens, the processor stops the program and starts it again from the beginning after the ISR." Explain why this is wrong.
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.