Algorithm Arcade Lesson Plan Grade 2 • Computer Science Unit: Algorithms & Programming
Algorithm Arcade Lesson Plan
50–60 Minutes
Core Objectives & Big Idea
Big Idea: Computers cannot guess; they need precise, step-by-step instructions in the exact right order to do a job.
Identify: Sequence everyday routines into logical order (First, Next, Then, Last).
Execute: Follow directional arrow algorithms on a 2D coordinate grid.
Construct & Debug: Author a multi-step navigation algorithm and fix sequence errors ("bugs").
CSTA Standards
1A-AP-08: Model daily processes by creating algorithms with sequences.
1A-AP-10: Develop programs with sequences of commands.
1A-AP-11: Deconstruct and debug simple programs.
Essential Vocabulary
Algorithm A list of step-by-step instructions to finish a task.
Sequence The exact order in which steps must happen.
Bug An error, mistake, or missing step in an algorithm.
Debug To find the bug and fix it so the code works.
1 Hook & Unplugged Warm-Up: "The Clueless Robot" (10 Min) Whole Class Kinesthetic
Setup: Put on an oversized cardboard robot hat or stiff arms. Tell students: "I am Robo-Teacher. I have no brain until you give me instructions!"
Prompt: Ask volunteers to tell you how to put on a jacket. If a student says "Put your arm in!" , place your entire head or leg into the sleeve. If they say "Zip it up!" , try zipping before putting it on.
→ Key Takeaway: Computers do not guess your mind! Instructions must be super-precise and in the exact right order.
2 Concept Modeling: Everyday Sequences vs. Grid Code (15 Min) Interactive Modeling
Daily Routine Sequencing: Display 4 shuffled cards (Planting a Sunflower: Seed in soil, Water dirt, Sprout grows, Flower blooms ). Demonstrate why watering before planting the seed causes an error.
Introducing Directional Code: Draw a 3×3 grid on the board with a robot at (1,1) and a battery at (3,2). Model directional symbols: [↑ UP] [↓ DOWN] [← LEFT] [→ RIGHT] .
Deliberate Bug Demonstration: Write an algorithm with a wrong arrow that walks into an obstacle. Ask class: "Is our robot broken, or is our code broken? How can we debug it?"
Algorithm Arcade • Teacher Lesson Guide Page 1 of 2
Facilitation & Assessment
Lesson Delivery, Partner Work & Differentiation
Phase 3 & 4
3 Student Mission Packet: Independent & Partner Coding (20 Min) Student Activity
Part 1 & 2 (Solo Warmup): Students order real-world steps (1-4) and follow grid algorithms by tracing Robo-Bot's route to star batteries while avoiding muddy oil slicks.
Part 3 (Commander & Bot Pair): Student A writes the code on their paper. Student B executes it with a finger or counter token. If the robot gets stuck, they circle the bug together and debug!
4 Debrief & Exit Ticket Wrap-Up (10 Min) Reflection
Gather at the rug or desks. Call on 2 partner pairs: "Who found a bug in their code today? How did you feel when you spotted it? How did you fix it?"
Reinforce growth mindset: In computer science, bugs are normal and exciting puzzles, not failures!
Common 2nd-Grade Misconceptions & Teacher Fixes
Misconception: Diagonals Students try moving diagonally across grid squares. Fix: Remind bots only have 4 thruster buttons (Up, Down, Left, Right).
Misconception: Skipping Steps Assuming the robot knows when to stop or jump. Fix: Each individual square moved requires its own arrow token.
Scaffolding & Support
Provide physical arrow manipulatives (cardboard arrow tiles) for students to lay out before writing.
Use two-color highlighters: green for start square, red for destination star.
Allow tactile tracing using toy robot figurines or counters.
Extension & Challenge
Fewest Steps Challenge: Find the shortest valid algorithm to collect two gems.
Add Obstacles: Have students shade in extra barrier squares on their grid for their partner to navigate around.
Introduce repeat loops: e.g., "Right × 3".
Quick Assessment Rubric
Criteria
Mastery (3)
Developing (2)
Beginning (1)
Logical Sequence
Orders all daily tasks correctly without guidance.
Swaps 1 step but self-corrects when read aloud.
Struggles to order temporal sequence.
Follow Algorithm
Traces exact grid path matching 100% of arrow commands.
Follows most arrows; minor 1-square drift.
Skips arrow instructions or ignores obstacles.
Write & Debug
Writes unambiguous arrows; identifies and fixes bugs.
Writes algorithm with 1 bug; debugs with partner help.
Needs step-by-step adult guidance to write code.
Algorithm Arcade • Teacher Lesson Guide Page 2 of 2
Robot Commander Activity Pack Computer Science Mission • Grade 2
Robot Commander Activity Pack
Name:
Date:
Commander Brief: An algorithm is a list of steps in exact order. A sequence is doing steps one by one. Follow the clues below to program your robot!
1
Level 1: Order the Steps (Daily Routines)
A. Number these steps from 1 to 4 in the correct logical sequence:
Smile with bright, clean teeth!
Squeeze toothpaste onto brush.
Rinse mouth and brush with water.
Brush gently for 2 whole minutes.
B. Spot the Bug! Read Robo-Sam's routine below. Circle the step that is out of order:
Step 1: Put on shoes ➔ Step 2: Tie shoelaces ➔ Step 3: Put on socks
Why is this a bug?
2
Level 2: Follow the Algorithm (Grid Navigation)
ROBO-BOT GRID MAP
A4
B4
C4
A3
C3
D3
A2
B2
D2
Start
B1
C1
D1
Gem Mud Puddle Star Battery
PROGRAM CODE FOR ROBO-BOT:
1. ➔ RIGHT 2. ➔ RIGHT 3. ⬆ UP
1. Trace with your pencil: Start at A1 . Move your pencil along the squares following the code above.
2. What item did Robo-Bot collect?
Mud Puddle Green Gem Star Battery
Bonus Question: What square is the robot on now? Square: [____]
Robot Commander Activity Pack • Grade 2 CS Page 1 of 2
3
Level 3: Write Instructions (Partner Coding Challenge)
Partner's Name:
Mission: You are the Coder ! Write an algorithm to guide Robo-Pup to the Doghouse . Avoid the rocky rocks! Then let your partner test your code.
Arrows: ⬆ ⬇ ⬅ ➔
ROBO-PUP RESCUE MAP
A4
B4
C4
D4
A3
C3
A2
D2
Start
B1
C1
D1
Start A1 Rock House D3
Write your algorithm! Draw one clear arrow (⬆, ⬇, ⬅, or ➔) in each step box:
Step 1
Step 2
Step 3
Step 4
Step 5
PARTNER TEST & DEBUG CHECK:
Did Robo-Pup reach the doghouse? YES! Success! Found a Bug!
If you found a bug, what step did you fix?
★
Commander Exit Ticket: Show What You Know!
1. What is an algorithm in computer science? (Fill in the bubble)
A fun computer video game with music and lights.
A list of step-by-step instructions to complete a task.
A robot body made out of metal, gears, and batteries.
2. Complete the sentence: Why must instructions be in the exact right order ?
If the steps are in the wrong order, the robot will:
Commander Self-Reflection How do you feel about writing robot algorithms today?
⭐ Super Coder! 👍 Good Practice! 🤔 Need Help
Robot Commander Activity Pack • Grade 2 CS Page 2 of 2
Robot Commander Answer Key Teacher Resource • Answer Key & Guide
Robot Commander Answer Key
Grade 2 CS • Level 1 & 2
Grading Insight: Emphasize precision over speed. If a student understands the sequence but writes messy arrows, support their directional vocabulary before grading down.
1
Level 1 Solutions: Order the Steps
A. Toothbrush Routine Sequence (Numbers 1 to 4): 4 Points (1 pt each)
Squeeze toothpaste onto brush
1
First step
Brush gently for 2 whole minutes
2
Second step
Rinse mouth and brush with water
3
Third step
Smile with bright, clean teeth!
4
Final step
B. Spot the Bug Solution: 2 Points
Circled Step: Step 3: Put on socks is out of order.
Acceptable Student Explanations: "You can't put socks on after your shoes are already tied!" / "Socks have to go on your feet before shoes." / "The robot put socks on top of shoes!"
2
Level 2 Solutions: Follow the Algorithm
CORRECT PATH TRACE
A4
B4
C4
A3
C3
D3
A2
B2
End! (3)
D2
Start
➔ Step 1
➔ Step 2
D1
Path: Start (A1) ➔ B1 ➔ C1 ➔ Up to C2
EXECUTION LOG:
Start: A1 (Bottom-left corner)
Step 1 (➔ RIGHT): Lands on square B1 .
Step 2 (➔ RIGHT): Lands on square C1 .
Step 3 (⬆ UP): Lands on square C2 .
Question 2 Answer:
✔ Green Gem (Students should have filled/circled "Green Gem").
Bonus Square: C2 (or Column C, Row 2).
Robot Commander Answer Key • Grade 2 CS Page 1 of 2
3
Level 3 & 4 Solutions: Partner Code & Exit Ticket
Grade 2 CS • Page 2
Valid Algorithms for Robo-Pup (Start: A1 ➔ Target: Doghouse D3)
Note: Obstacles (Rocks) are at B3 and C2 . Any algorithm that reaches D3 without crossing B3 or C2 is 100% correct! Here are the two most common routes:
Route A: Bottom Loop (5 Steps) ★ Optimal
1. ➔ 2. ➔ 3. ➔ 4. ⬆ 5. ⬆
Moves along Row 1 (A1 ➔ B1 ➔ C1 ➔ D1), then moves UP twice (D1 ➔ D2 ➔ D3). Reaches doghouse safely!
Route B: Treat Route (5 Steps)
1. ⬆ 2. ➔ 3. ⬇ 4. ➔ 5. ➔
Moves UP to A2, RIGHT to B2 to grab the Bone, then avoids rocks and reaches the house.
How to Evaluate the Partner Test & Debug Box:
Award full credit if students either: (a) executed code without bugs on attempt 1, OR (b) wrote an error explanation such as "We hit the rock at C2 so we changed step 3 to RIGHT" . Finding and fixing a bug demonstrates true mastery!
★
Exit Ticket Answer Key & Scoring Criteria
1. What is an algorithm? 1 Point
Correct Choice: "A list of step-by-step instructions to complete a task."
Distractor Note: Option A (video game) and Option C (robot body) test if students confuse software/logic with hardware or entertainment.
2. Why must instructions be in exact order? 2 Points
Exemplary Student Responses (2 pts):
"The robot will crash into a rock or get stuck in mud."
"It won't finish the job right because computers only do what we tell them in order."
"It will make a mistake, like putting shoes on before socks!"
Partial Credit (1 pt): Stating "It will be wrong" without connecting to steps or robot actions.
Next Step Digital Bridge (ScratchJr / Code.org) Connect unplugged arrows directly to block code: [➔] translates to yellow Start Flag + blue Move Right block.
CSTA 1A-AP-10
Total Packet Points: 15 Points Level 1: 6 pts • Level 2: 3 pts • Level 3: 3 pts • Exit Ticket: 3 pts
Robot Commander Answer Key • Grade 2 CS Page 2 of 2