Single lesson · Written for OCR A Level (H446)

Logic gates and truth tables – OCR A Level Computer Science lesson (H446)

Students learn to draw the symbols for, and complete the truth tables of, NOT, AND, OR, XOR, NAND and NOR gates.

Also in a bundle Data Representation and Logic Gates – OCR A Level Computer Science lessons (H446) 13 lessons for £45 · save 13% on buying separately

Lesson 9 of 13 in unit 12.3 Data Representation and Logic Gates, taught in Year 12, Autumn 2. It answers one big question: How do simple gates make every decision a computer takes?

By the end, students can draw the symbols for, and complete the truth tables of, NOT, AND, OR, XOR, NAND and NOR gates.

The Build (the main task)
Complete the truth tables for the six gates, and identify which single gate Wrenhome Sensors should use to sound a buzzer when exactly one of two window sensors reports open (6 marks).
Support version
Gate cards with each symbol and its rule underneath ('AND: 1 only when both inputs are 1'), and the input columns of each table filled in.
Challenge
Show that a NAND gate followed by a NOT gate gives the same truth table as AND, and explain why NAND gates are called universal.
Real-world link
Wrenhome Sensors's window sensors decide when to sound a buzzer.
Key words
Logic gate, Truth table and Output, each with a definition, an icon and a common mix-up on the key vocabulary slide.
Misconceptions it tackles
“NOR is written ¬A ∨ ¬B”; “OR outputs 0 when both inputs are 1”.
OCR H446 specification
1.4.3 (d).

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 Data Representation and Logic Gates 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.