Logic Lights #41

Logic Lights 41 card

Challenge type: Logic Lights  ·  Difficulty: ★★★☆☆ Medium  ·  Gates: 2

Beep’s brain is full of tiny switches called logic gates. This puzzle shows how they decide things.

Logic lights 41: the lamp is connected as (A AND B) AND C. switch A is OFF, switch B is OFF, switch C is ON.
Follow the wires from the switches to the lamp.

In this circuit, switch A is OFF, switch B is OFF, switch C is ON.

The lamp is wired like this: lamp = (A AND B) AND C

How the gates work

  • AND is ON only if both of its inputs are ON.

Work from the switches on the left towards the lamp on the right, one gate at a time.

Need a hint?

Write ON or OFF next to every wire as you go. The wire coming out of each gate depends only on the wires going into it.

For teachers and grown-ups

Skills practised: Boolean logic (AND, OR, NOT), truth values, and step-by-step evaluation.

The big idea: Logic gates make decisions from ON and OFF signals. Millions of them make up every computer chip.

Questions to ask:

  • Which switch would you flip to change the lamp?
  • When is an AND gate ON? When is an OR gate ON?
  • Can you write the circuit as a sentence using and, or and not?

Take it further: Children build truth tables for each gate, then design a circuit for a rule such as 'light the lamp if it is dark AND someone is home'.