Activity 1 - The Toucan's gate (AND)

Illustration of Nuvi in a toucan costume

Introduction

As you walk through the forest, you reach a large wooden door.
A toucan appears beside it and says:

“This door only opens if both torches are lit at the same time.
If only one is lit, the door won’t move.
Here we use AND logic.”

Your mission is to test this behavior using the logic gate simulator.


Decorative pattern for the logic workshop

What is the AND gate?

See full truth table
Input AInput BAND Output
000
010
100
111

Landscape of the door in the forest

Simulator instructions

1. Place the components

  1. Make sure you are in Edit mode.
  2. From the left sidebar, click on:
    • Input ➔ place two inputs (A and B).
    • AND Gate ➔ place an AND gate.
    • Output ➔ place an output to the right of the gate.
Visual example of the AND circuit with two inputs and one output

2. Connect the components

  1. Click on the output circle of Input A, then click on one of the AND gate inputs.
  2. Repeat the same with Input B.
  3. From the AND gate output, connect to the Output circle.

3. Test the circuit


Simulator


What did you learn?


Next up

In the next activity, you will walk down the trail until you meet the Sloth and discover how the OR gate works.