Tutorpip← About this lessonOpen the sheet →Download PDF
Ages 10+ · Coding · Logic and puzzles
Logic puzzles
🐈cat🐕dog🐟fish
Three pets, three children, and three clues to match them.
The big ideaA logic puzzle is solved by using clues to rule out what cannot be.

How it works

A logic puzzle is solved by using clues to rule out what cannot be.

A grid helps. A tick means yes, and a dot means no, so that pair is ruled out.

Each clue rules some things out, and clues lead to more clues. Whatever is left must be true.

A good puzzle has exactly one answer, so you never need to guess or peek.

The clue• Sam's pet has no fur• Ada's pet does not barkWhat it tells us• Only the fish has no fur• Dogs bark, so not the dog
Two clues from Gran's puzzle.
Read a clueDot what isruled outTick what mustmatchRepeat untilone is left
How to solve a puzzle.

Example 1: Clue one

  1. Sam's pet has no fur, and only the fish has none.
  2. So Sam has the fish.
  3. Tick Sam and the fish, and put dots for Sam and the cat, and Sam and the dog.

Example 2: Clue two

  1. Ada's pet does not bark, and dogs bark.
  2. So Ada cannot have the dog.
  3. The fish is already Sam's, so only the cat is left for Ada.

Example 3: What is left

  1. Sam has the fish, and Ada has the cat.
  2. The dog is the only pet left.
  3. It must be Leo's.

Example 4: A clue that does not follow

  1. Someone says: Ada's pet does not bark, so it must be the fish.
  2. Not barking only rules out the dog.
  3. Ada's pet could be the cat or the fish, so one more clue is needed.

Example 5: The bikes

  1. Leo, Ada and Sam have blue, green and yellow bikes. Sam's is not blue and not green, so Sam's is yellow.
  2. Leo's bike is the color of a clear sky, so it is blue.
  3. Ada's is the green one that is left. Every clue agrees.

Words to know

clue
A fact that helps you work something out.
rule out
Cross out something that cannot be.
grid
A table that keeps track of what is true.
tick
Marks a pair that must match.
dot
Marks a pair that is ruled out.

Watch out

Try it

  1. Sam's pet has no fur. Which pet is it?
  2. Sam has the fish and Ada has the cat. Whose pet is the dog?
  3. Ada's pet does not bark. Do you put a tick or a dot for Ada and the dog?
  4. How many answers should a good logic puzzle have?
  5. True or false: guessing solves every puzzle.
Answers: 1. The fish · 2. Leo's · 3. A dot · 4. Exactly one · 5. False
Try at homeWith a grown-up, make a puzzle about three people and three snacks. Write three clues and see if your grown-up can solve it with a grid of ticks and dots. Check that exactly one answer fits.
For grown-upsMake a three-clue puzzle together about three people and three snacks. Write the clues and see whether you can solve it with a grid of ticks and dots, then check that exactly one answer fits.
Open these notes on screenScan the code, or go to tutorpip.com.