Logic gates worksheet for Years 4–7: AND and OR gates

Members Chapter 7 of How Computers Work: A Time Machine Adventure with Bit · Year 4, Year 5, Year 6 · 3 pages · PDF, A4

All 10 worksheets in this game

One for each chapter

AND and OR Gates is a printable logic gates worksheet for Years 4 to 7 (ages 7 to 11) that explains how simple gates turn on/off inputs into an output. Children decide when a bulb lights for AND and OR gates, complete truth tables and choose AND or OR for everyday rules.

  • 3 A4 pages
  • Answers sheet
  • About 25 minutes
  • Colour or black and white

For members Membership opens every worksheet and every game. Already a member? Log in

Start with the free one: Meet the computer (chapter 1).

The game for this worksheet How Computers Work: A Time Machine Adventure with Bit Chapter 7 · Logic gates · read aloud ▶ Play chapter 7 in the gameChapter 1 is free

Print it on A4, in colour or black and white. Do it after the chapter, or before it to see what your child already knows.

What's on the worksheet

Explore how AND and OR logic gates turn two on/off inputs into one output, with truth tables and everyday rules. Includes a Be a logic gate game for two players and an answers sheet.

Page 1 · Learn
Pictures of an AND gate and an OR gate lighting a bulb, and a worked truth table for AND. A warm-up asks whether a two-button safe opens.
Page 2 · Try it together
Be a logic gate: a grown-up's hands are the inputs and the child shows the output with a cup or torch, playing rounds as an AND gate, then an OR gate.
Page 2–3 · Practise
Colour the bulbs for four gates, finish an OR truth table, work out outputs like 1 AND 0, choose AND or OR for four everyday rules, and a challenge.
Answers sheet
Every answer by page, what to watch for (thinking OR means only one) and ideas such as spotting AND and OR rules at home.

3 A4 pages and an answers sheet · about 25 minutes

In the classroom

  • Play Be a logic gate with the whole class: you call out inputs with your hands and everyone shows the output.
  • Use the everyday rules in Practise D as a pairs discussion: which need AND and which need OR?

Questions from the worksheet

  1. Finish the truth table for an OR gate.
  2. Write the output, 0 or 1: 1 AND 0, 1 OR 0, 0 AND 0, 1 AND 1.
  3. The lift only moves if the doors are shut __ a floor button is pressed. Does it need AND or OR?
  4. Mia says, "With an OR gate, if both inputs are on the output is off, because OR means only one." Is she right? Explain.

The answers are on the answers sheet, for grown-ups.

Using it at home

  • Play Be a logic gate before the Practise page, slowly at first and then faster. Swapping jobs so your child sets the inputs helps too.
  • Use family rules to explain: "pudding if you eat your carrots AND your peas" needs both. Ask your child to make up an OR rule.

Watch out for

Thinking OR means "only one", so 1 OR 1 is off.
An OR gate is on when at least one input is on, and that includes both. So 1 OR 1 = 1.
Thinking AND is on when either input is on.
Cover one input: if that one is off, AND is off, whatever the other does.

Questions and answers

What is a logic gate?

A logic gate is a tiny part of a computer that takes inputs that are on (1) or off (0) and gives one output. Computers use billions of them to make decisions.

What is the difference between AND and OR gates?

An AND gate is on only when both inputs are on. An OR gate is on when at least one input is on, including when both are.

What is a truth table?

A truth table lists every way a gate's inputs can be set and the output for each. With two inputs there are 4 rows: 00, 01, 10 and 11.

More worksheets from How Computers Work: A Time Machine Adventure with Bit

More Year 4 history worksheets

One for every chapter of every game, with answers.

Browse them →