Single lesson · Written for OCR A Level (H446)

Interrupts and interrupt service routines – OCR A Level Computer Science lesson (H446)

Students learn to describe how an interrupt is detected and serviced within the fetch–decode–execute cycle, and how the original task resumes.

Also in a bundle Systems Software and Translators – OCR A Level Computer Science lessons (H446) 15 lessons for £45 · save 25% on buying separately

Lesson 4 of 15 in unit 12.5 Systems Software and Translators, taught in Year 12, Spring 1. It answers one big question: How does the processor deal with an urgent signal?

By the end, students can describe how an interrupt is detected and serviced within the fetch–decode–execute cycle, and how the original task resumes.

The Build (the main task)
Describe what happens from the moment the sensor in a Fellside Libraries book-return machine sends an interrupt to the moment the processor resumes its previous task (6 marks).
Support version
Six steps on cards to order (check at end of cycle · compare priority · push registers onto stack · load ISR address into PC · run ISR · pop registers), then expand into sentences.
Challenge
Explain what happens if a higher-priority interrupt arrives while the ISR for the book-return sensor is running (3 marks).
Real-world link
Fellside Libraries' self-service book-return machine, whose sensor fires each time a book is dropped in.
Key words
Interrupt, Interrupt service routine (ISR) and Priority, each with a definition, an icon and a common mix-up on the key vocabulary slide.
Misconceptions it tackles
“The processor stops in the middle of an instruction to deal with the interrupt”; “After the ISR, the interrupted program starts again from the beginning”.
OCR H446 specification
1.2.1 (c).

Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.

Students can do it all on paper.

Also sold in the Systems Software and Translators unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.

An independent resource written for OCR A Level Computer Science (H446). It is not endorsed by OCR or Cambridge University Press & Assessment. Programming project (NEA) lessons teach general skills on a made-up example project and give supervised time, within JCQ's rules on the help a centre may give.

What's included

  • Slide deck (PowerPoint)
  • Lesson plan (Word)
  • Worksheet (Word)
  • Support worksheet with scaffolds (Word)
  • Single-teacher licence: use and adapt it with your own classes

More for A Level Computer Science

See all

Written for the specifications named. Not endorsed by or affiliated with any exam board.