Skip to content
Menu

Year 9 (ages 13–14, Grade 8 in the US) · Computing · Boolean logic · Lesson 1

AND, OR, NOT and truth tables

Boolean values, the AND, OR and NOT gates, their truth tables and real-life logic statements.

Exam boards: this lesson matches the AQA and Pearson Edexcel GCSE computing courses. Check which course your school follows.

Whiteboard video lesson: AND, OR, NOT and truth tables

16-minute video lesson

Teaching, worked examples and 20 practice questions solved step by step.

Watch free for a month

What your child will learn

  • Describe AND, OR and NOT
  • Complete truth tables
  • Work out outputs
  • Write real-life logic statements

The method

  1. Write the inputs as 1 or 0.
  2. AND: both must be 1.
  3. OR: at least one 1.
  4. NOT: flip it.

Key words: Boolean, logic gate, AND, OR, NOT, truth table.

Worked examples

Worked examples from the lesson, with every step.

Question 1

What is the output of 0 AND 0?

  1. Step 1: AND: 1 only if BOTH inputs are 1
  2. Step 2: 0 AND 0 = 0

Answer: 0

Question 2

What is the output of 0 AND 1?

  1. Step 1: AND: 1 only if BOTH inputs are 1
  2. Step 2: 0 AND 1 = 0

Answer: 0

Question 3

What is the output of 1 AND 1?

  1. Step 1: AND: 1 only if BOTH inputs are 1
  2. Step 2: 1 AND 1 = 1

Answer: 1