Boolean Logic Masterclass
J277 Specification Reference: 2.4 Boolean logic
Learning Objectives
Why this matters
Computers make decisions using simple True/False rules, just like strict parents.
Rule 1: AND (Strict)
"You can play if you have finished homework AND tidied your room."
Rule 2: OR (Relaxed)
"You can play if it is the weekend OR if it is a holiday."
1. Core Knowledge: The Gates
Tap cards to flipAND
Tap for definition
AND Gate
Output is 1 only if BOTH inputs are 1.
Also called: Conjunction
OR
Tap for definition
OR Gate
Output is 1 if EITHER (or both) inputs are 1.
Also called: Disjunction
NOT
Tap for definition
NOT Gate
Output is the INVERSE (opposite) of the input.
Warning: Don't forget the circle!
Examiner's Eye: Sloppy Drawings
Marks are frequently lost for drawing the OR gate with a straight back (making it look like a D-shape AND gate). Make the curve obvious.
Examiner's Eye: Missing Circle
A triangle without the small circle at the end is just a "buffer"—it does nothing to the signal. No circle = zero marks for a NOT gate.
Checkpoint 1
I can recognise and name the 3 logic gates.
Logic Lab
Logic Gates Masterclass: Part 1
Master the basics of Boolean logic. Learn how to draw the symbols, write expressions, and build truth tables for AND, OR, and NOT gates.
Visual walkthrough of the core gates required for OCR J277. Learn the unique shapes and logic rules that govern modern computing.
2. Mastering Truth Tables
Examiner's Eye: Mixing Notation
Never mix 1/0 and True/False in the truth table. Pick ONE style (ideally 1s and 0s) and stick to it strictly.
The AND Rule
Output is 1 only if A AND B are 1.
| A | B | Output Q |
|---|---|---|
| 0 | 0 | ? |
| 0 | 1 | ? |
| 1 | 0 | ? |
| 1 | 1 | ? |
Checkpoint 2
I can complete truth tables for 2 and 3 inputs.
Logic Gates Masterclass: Part 2
Take it to the next level by combining gates into sophisticated circuits and mastering 8-row truth tables for 3-input systems.
Learn the 'Half Method' for building perfect 8-row truth tables and how to decompose complex Boolean expressions like Z = (A OR B) AND (NOT C).
Diagram Bootcamp
How to Decompose a Question
Exam Question: "The Alarm (Q) sounds if the Motion Sensor (A) is on, AND the System is Armed (B), OR if the Panic Button (C) is pressed."
"Motion AND Armed" belong together. Draw an AND gate for A and B first.
Take the output line from that gate, and plug it into an OR gate along with input C.
Scenario: The Garden Floodlight
"The light (Q) turns on if the Switch is ON (C) AND motion is detected (A) at Night (NOT B)."
Checkpoint 3
I can create and edit diagrams from written scenarios.
Final Assessment
1. Which symbol represents a NOT gate?
2. Reverse Engineering
Look at this truth table. Which gate produces this output?
| A | B | Output |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
3. Logic Tracing
System: P = NOT A AND (B OR C).
If A=1, B=1, C=1,
what is P?
Hint: Work out NOT A first.
Checkpoint 4
I can apply logical operators to solve problems.