Single lesson · Written for OCR J277

Logic gates and truth tables – OCR GCSE Computer Science lesson (J277)

Pupils learn to draw the AND, OR and NOT gate symbols, complete their truth tables and choose the gate that matches a rule.

Also in a bundle Binary, Boolean Logic and Iteration – OCR GCSE Computer Science lessons (J277) 11 lessons for £39 · save 11% on buying separately

Lesson 8 of 11 in unit 10.3 Binary, Boolean Logic and Iteration, taught in Year 10, Spring 1. It answers one big question: How can tiny switches make decisions?

By the end, pupils can draw the AND, OR and NOT gate symbols, complete their truth tables and choose the gate that matches a rule.

The Build (the main task)
Complete the truth tables for the AND, OR and NOT logic gates on your worksheet. Then state which gate a smart porch light needs if it switches on only when it is dark AND motion is detected, and draw its symbol with the inputs and output labelled.
Support version
Part-filled truth tables (inputs written in, first output given for each gate) and a card showing each gate's rule in words.
Challenge
Complete the truth table for a NOT gate fed by an OR gate, and describe when its output is 1.
Real-world link
The porch light switches on only when it is dark and someone walks up the path.
Key words
Logic gate, Truth table and Outcome, each with a definition, an icon and a common mix-up on the key vocabulary slide.
Misconceptions it tackles
“OR gives 1 only when exactly one input is 1”; “A 2-input truth table only needs 2 or 3 rows”.
OCR J277 specification
2.4.1 (boolean logic: AND, OR and NOT gates, their symbols and truth tables; logic diagrams and Boolean expressions with up to three inputs; applying logical operators in programs).

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.

Pupils can do it all on paper.

Also sold in the Binary, Boolean Logic and Iteration unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.

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 GCSE Computer Science (OCR)

See all

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