My courseSet up

GCSE Computer Science · Logic gates, truth tables, Boolean expressions and logic circuits

Boolean logic

GCSE · AQA · OCR

GCSE Computer Science

Boolean logic

Logic gates, truth tables, Boolean expressions and logic circuits

Study Simplified revision slides

studysimplified.co.uk · GCSE Computer Science

In this deck

15key facts
6key terms
3quick checks

Exam boardsAQAOCR

AQA: Includes XOR.; OCR: NOT, AND and OR only; XOR items are AQA only (tagged AQA-XOR).

Tip: press T or tap Test me to hide the answers and quiz yourself.

studysimplified.co.uk · GCSE Computer Science

Have a go first

What is the output of an AND gate when A = 1 and B = 0?

Guessing is fine. Trying before you revise helps it stick.

studysimplified.co.uk · GCSE Computer Science

Key facts

1

AND gate

Output is 1 only if both inputs are 1

2

OR gate

Output is 1 if at least one input is 1

3

NOT gate

Output is the opposite of the input

4

XOR gate

Output is 1 if exactly one input is 1 (exclusive OR)

studysimplified.co.uk · GCSE Computer Science

Key facts

5

Truth table

A table showing the output for every possible combination of inputs

6

Number of rows in a truth table

2ⁿ, where n is the number of inputs

7

Boolean expression

A logical statement using AND, OR, NOT, e.g. Q = A AND NOT B

8

AND notation (AQA)

A . B

studysimplified.co.uk · GCSE Computer Science

Key facts

9

OR notation (AQA)

A + B

10

NOT notation (AQA)

A with a bar over it (Ā)

11

OCR notation

AND (∧), OR (∨), NOT (¬)

12

Logic circuit

Gates connected together to process inputs

studysimplified.co.uk · GCSE Computer Science

Key facts

13

Logic gate

A component that performs a Boolean operation on one or more inputs

14

Binary 1 and 0

Represent True and False (on and off)

15

Combining gates

The output of one gate can become an input to another

studysimplified.co.uk · GCSE Computer Science

Key terms

AND gate
Output is 1 only if both inputs are 1
OR gate
Output is 1 if at least one input is 1
NOT gate
Output is the opposite of the input
XOR gate
Output is 1 if exactly one input is 1 (exclusive OR)
Truth table
A table showing the output for every possible combination of inputs
Number of rows in a truth table
2ⁿ, where n is the number of inputs
studysimplified.co.uk · GCSE Computer Science

Quick check 1

What is the output of an OR gate when A = 1 and B = 0?

studysimplified.co.uk · GCSE Computer Science

Quick check 2

What is the output of a NOT gate when the input is 1?

studysimplified.co.uk · GCSE Computer Science
studysimplified.co.uk · GCSE Computer Science
1 / 11

Teaching? Open in present mode. Swipe, use the arrow keys or tap the arrows. Download PDF opens your print window: choose "Save as PDF".

Boolean logic: key facts

Everything on the slides, as a list you can read or print.

AND gate
Output is 1 only if both inputs are 1
OR gate
Output is 1 if at least one input is 1
NOT gate
Output is the opposite of the input
XOR gate
Output is 1 if exactly one input is 1 (exclusive OR)
Truth table
A table showing the output for every possible combination of inputs
Number of rows in a truth table
2ⁿ, where n is the number of inputs
Boolean expression
A logical statement using AND, OR, NOT, e.g. Q = A AND NOT B
AND notation (AQA)
A . B
OR notation (AQA)
A + B
NOT notation (AQA)
A with a bar over it (Ā)
OCR notation
AND (∧), OR (∨), NOT (¬)
Logic circuit
Gates connected together to process inputs
Logic gate
A component that performs a Boolean operation on one or more inputs
Binary 1 and 0
Represent True and False (on and off)
Combining gates
The output of one gate can become an input to another

✓ Written by Study Simplified to the AQA · OCR GCSE Computer Science specification, and independently fact-checked against the official specification. Last reviewed 1 December 2026.