Lesson 1: What Goes In, What Comes Out — Inputs, Processing, and Outputs
Learning objective
Students will identify the inputs (information or signals going in), processing (the rule or check inside), and outputs (actions, sounds, or displays coming out) for everyday devices and simple games.
Materials
- Whiteboard or chart paper drawn with a three-column table: Input (In) | Processing (Rule Inside) | Output (Out)
- 3 blank index cards and 1 half-sheet of paper per pair of students (plus exit-check slips)
- Everyday classroom items to point to (pencil sharpener, wall light switch, classroom sink faucet, digital clock)
Vocabulary
- Input: Information, a button press, or a sensor reading that goes into a machine or program.
- Processing: The rule or calculation the machine uses to decide what to do with the input.
- Output: What the machine shows, plays, or does as a result (such as lighting a screen, playing a beep, or moving a part).
Lesson flow
1. Warm-up: The Mystery Rule Box (8 min)
- Tell the class: "I am a Mystery Rule Box. Give me a whole number between 1 and 10 (my input). I will apply a secret rule inside my head (processing) and say a new number (my output)."
- Take three student inputs and respond using the rule Input + 3 = Output:
- Student says
2 → Teacher says 5
- Student says
6 → Teacher says 9
- Student says
10 → Teacher says 13
- Ask students to whisper to a partner what the secret rule inside the box is, then predict the output for input
4 (answer: 7).
- Label the three parts on the board:
- Input: the number spoken to the box (
4)
- Processing: add 3 (
4 + 3)
- Output: the number spoken back (
7)
2. Direct instruction: Everyday Input–Process–Output Machines (12 min)
Walk through three real-world examples together and fill in the three-column board table:
| Machine / System |
Input (What goes in?) |
Processing (What rule happens inside?) |
Output (What comes out?) |
| Toy crosswalk model (hypothetical classroom example; real traffic signals vary by intersection, and pedestrians must always look and follow real road-safety rules) |
Pedestrian presses the request button |
Controller waits for the scheduled safe crossing phase in the light cycle |
White "WALK" sign lights up and speaker chirps |
| Microwave oven |
User presses 1, 0, 0 and START |
Counts down 60 seconds while running the heater; stops if door opens |
Food warms up, screen shows 0:00, buzzer beeps |
| Video game jump |
Player presses the A button |
Game checks if the character's feet are touching the ground |
Character sprite moves upward on the screen and plays a jump sound |
Common misconception to watch for: Students often confuse ingredients/materials with information inputs. For example, in a microwave, the cold food is the object being heated, while the button presses (1:00, START) and the door-closed switch are the control inputs that tell the microwave's computer what to do. Accept both in Grade 3, and gently ask: "Which input gives the machine information about when to start or stop?"
3. Guided practice: Pair Card Sort & Invention (15 min)
- Give each pair three index cards labeled INPUT, PROCESSING, and OUTPUT.
- Read three short scenarios aloud. For each one, pairs write the three parts on their cards and hold up the OUTPUT card when ready:
- Scenario A (Automatic Night-Light): A hallway light has a light sensor. When the room gets dark, it turns on the bulb.
- Input: Room brightness measured by the light sensor.
- Processing: Check if brightness is below the dark threshold.
- Output: LED bulb turns on (or stays off).
- Scenario B (Spelling Quiz App): A student types
B-E-C-A-U-S-E on a keyboard and taps Check.
- Input: Letters typed on the keyboard and the Check tap.
- Processing: Compare typed letters against the stored word
"BECAUSE".
- Output: Green checkmark on screen and "+1 point".
- Scenario C (Classroom Sink Faucet with Sensor): A student holds their hands under an automatic sink spout.
- Input: Hand-sensor reading showing hands are directly under the spout.
- Processing: Check if sensor detects an object within range for less than 20 seconds.
- Output: Water valve opens and water flows from the spout.
- Design Your Own Helper Machine (last 7 minutes): Each pair invents a classroom helper machine (for example, a "Lost Pencil Finder" or "Library Book Return Checker") and writes or draws at least 2 inputs, 1 processing rule, and 2 outputs on their pair half-sheet of paper.
4. Wrap-up & Exit check (10 min)
Students answer independently on a slip of paper:
- An automatic supermarket door opens when a person steps on the rubber mat in front of it. What is the input and what is the output?
- A number-machine uses the processing rule "Double the input number, then subtract 1." If the input is
5, what is the output?
- Look at a digital alarm clock. Name one input a human gives it, and one output the clock gives back.
Worked answers for exit check
- Input: Weight/pressure on the rubber floor mat (or motion sensor detecting a person). Output: The glass doors slide open.
- Output:
9 (because 5 × 2 = 10, and 10 − 1 = 9).
- Input: Pressing the "Set Alarm" or "Snooze" buttons (or setting the time). Output: Glowing numbers on the screen or the buzzing sound at 7:00 AM.