Activity 2 - The Sloth's mountain (OR)

Nuvi dressed as a sloth

Introduction

After leaving the Toucan’s door behind, the trail leads you to a peaceful mountain.
On a branch, a sloth yawns and says in a calm voice:

“No need to rush… To reach the top you can use trail A or trail B.
If either one is open, you’ll get there. And if both are open, you will too! Here we use OR logic.”

Your mission is to verify this behavior in the simulator and light up the path to the top.


Decorative pattern for the logic workshop

What is the OR gate?

See full truth table
Input AInput BOR Output
000
011
101
111

Landscape of the mountain and the trail

Simulator instructions

1. Place the components

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

2. Connect the components

  1. Connect the output of Input A to one of the OR gate inputs.
  2. Connect the output of Input B to the other input of the OR gate.
  3. Connect the output of the OR gate to the Output.

3. Test the circuit

“See? With just one open path, you can already make it to the top.”


Quick tips


Simulator


What did you learn?


Next up

In the next activity, you will visit the reflection pond with the Frog and discover how the NOT gate works.