Activity 4 - The Little Monkey's mission (Combining gates)

Nuvi dressed as a little monkey

Introduction

From the top of a tree, the Little Monkey (Monito) greets you with excitement:

“You’ve come a long way! You already know AND, OR, and NOT.
Now it’s time to combine them to restore energy to the Forest Sphere.”

In this activity, you will build a circuit that uses all the gates to solve a challenge.


Decorative pattern for the logic workshop

Goal

Build and verify the logic circuit:

This circuit uses NOT, AND, and OR.


Required components

Visual example of the combined AND, OR, NOT circuit with three inputs and one output
Landscape of the magic forest

Simulator instructions

1. Place the components

  1. Make sure you are in Edit mode.
  2. In the left sidebar, select and place:

2. Connect the components

  1. Connect C ➔ NOT (this creates NOT C).
  2. Connect A and NOT C to the AND (this creates A AND NOT C).
  3. Connect (A AND NOT C) and B to the OR.
  4. Connect the OR output ➔ Output.

Guided tests

Try these combinations and verify the Output:

  1. A = 1, B = 0, C = 0NOT C = 1A AND NOT C = 1Output = 1
  2. A = 1, B = 0, C = 1NOT C = 0A AND NOT C = 0Output = 0
  3. A = 0, B = 1, C = 1B = 1Output = 1
  4. A = 0, B = 0, C = 0 ➔ both paths give 0Output = 0

If all four match, the Sphere lights up correctly!


Truth table

See full truth table
ABCNOT CA AND NOT COutput = (A AND NOT C) OR B
000100
001000
010101
011001
100111
101000
110111
111001

Simulator


Common mistakes and how to fix them


What did you learn?


Next up

In the next mission, you will meet the forest characters again to solve bigger challenges using the same three gates.