Single lesson · Written for OCR A Level (H446)

Virtual machines and intermediate code – OCR A Level Computer Science lesson (H446)

Students learn to explain what a virtual machine is and describe its uses, including running intermediate code.

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 9 of 15 in unit 12.5 Systems Software and Translators, taught in Year 12, Spring 1. It answers one big question: How can software act as a whole computer?

By the end, students can explain what a virtual machine is and describe its uses, including running intermediate code.

The Build (the main task)
Explain two ways Fellside Libraries could use virtual machines: running its old catalogue system on new hardware, and running one app as intermediate code on staff laptops and kiosks (6 marks).
Support version
Two diagrams (old OS inside a VM on a new server; one bytecode file running on three devices) with labels to place.
Challenge
Explain one disadvantage of running the old catalogue system in a virtual machine (2 marks).
Real-world link
Fellside Libraries' old catalogue system only runs on an operating system that the new servers no longer support.
Key words
Virtual machine, Intermediate code and Emulate, each with a definition, an icon and a common mix-up on the key vocabulary slide.
Misconceptions it tackles
“A virtual machine is a physical computer”; “Intermediate code is machine code and runs directly on the processor”.
OCR H446 specification
1.2.1 (h).

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.