← Free Lesson Plans for Teachers Free Lesson Plan Grades K-1Engineering & Coding45 minCode & Go1A-AP-101A-AP-14K.G.A.1 ⬇ Download PDF (lesson, student sheets & answer key) Driving question: How can we give a robot step-by-step directions to reach a goal? Students plan a path for a programmable robot mouse to reach the cheese. They lay out coding cards in order (forward, turn left, turn right), enter the steps on the mouse, press go, and watch. When the mouse misses, students find the mistake and fix it: debugging. Position words from kindergarten geometry (above, below, beside, next to) help students talk about where the mouse and cheese are on the grid. CSTA K-12 CS Standards (2017), Level 1A (grades K-2). This lesson connects to these standards; it has not been reviewed or endorsed by CSTA. It addresses the sequence and debugging parts of 1A-AP-10 and 1A-AP-14. The Code & Go mouse has no loop command; a repeat-card challenge introduces an early idea of a loop. CSTA released updated PK-12 standards in 2026; this lesson cites the 2017 codes, which still match the activities. K.G.A.1 is a kindergarten geometry standard (grade 1 has no matching CCSS position standard). Students will: Geyer resources for this lesson Exit ticket: Show a mouse 2 squares below the cheese, facing up. "What cards do we need?" (forward, forward) Use these sheets in class, or download the PDF for a print-ready layout. Student Sheet 1 Print-ready version in the PDF. Name: ______________________________ Date: ______________ Code cards: ↑ = forward 1 square ↶ = turn left ↷ = turn right Puzzle 1. The mouse faces up (the black point). Draw the code cards in order. Student Sheet 2 Print-ready version in the PDF. Name: ______________________________ Date: ______________ Code cards: ↑ = forward 1 square ↶ = turn left ↷ = turn right Puzzle 2. Gray squares are walls. The mouse faces up. Draw the code cards. Bug hunt! Mia wanted the mouse to go 2 squares forward to the cheese. Her code was: ↑ ↷ ↑. Circle the bug. What should it be? In Puzzle 2, where is the cheese? (circle: above / below / beside) ↑ ↑ ↑ ↷ ↑ ↑ (forward 3, turn right, forward 2). Another correct answer: ↷ ↑ ↑ ↶ ↑ ↑ ↑ (turn right, forward 2, turn left, forward 3). ↑ ↷ ↑ ↑ ↑ ↷ ↑ (forward 1, turn right, forward 3, turn right, forward 1). The turn (↷) is the bug. Correct code: ↑ ↑. In Puzzle 2, the cheese is beside the mouse. Need a print-ready copy? The PDF includes the lesson, student sheets, and answer key. Free for classroom use. You may print and copy this lesson for your students. © Geyer Instructional Products. Standards text: Common Core State Standards © NGA Center/CCSSO; CSTA K-12 CS Standards © CSTA.Overview
Standards
Code Standard CSTA 1A-AP-10 (2017) algorithms & programming CSTA 1A-AP-14 (2017) finding and fixing program errors CCSS Math K.G.A.1 Describe objects in the environment using names of shapes, and describe the relative positions of these objects using terms such as above, below, beside, in front of, behind, and next to. Also listed with these standards
Type Connection K.G.A.1: Standards for Mathematical Practice MP.4 Model with mathematics; MP.6 Attend to precision. Learning Objectives
Materials
Programmable mouse, 16 maze grids (20" x 20" board), 22 maze walls, 3 tunnels, 30 coding cards, 10 activity cards, and cheese.
Extra robot mouse with coding cards so more groups can work at once.
Floor mat with 5" squares that match the mouse's default step.Also needed
Vocabulary
Word What it means code Directions a robot can follow. sequence Steps in order: first, next, last. program A set of steps we give a computer or robot. debug Find and fix a mistake in a program. forward Move ahead in the direction you are facing. turn Change the way you face (left or right) without moving to a new square. Safety Notes
Before You Teach
Warm-Up (8 min)
Procedure
Meet the mouse (7 min)
Plan, code, test (20 min)
Paper puzzles (7 min)
Share (3 min)
Differentiation
Support On-level Challenge • Use only forward moves first, then add one turn.
• An adult enters the steps while the student reads the cards.
• Use the blank grid mat with large squares.• Complete the procedure and student sheets as written. • Add a second goal: reach the cheese, then go to a tunnel.
• Find the shortest program (fewest cards).
• Use a repeated pattern of cards to make a square path, an early idea of a loop.Assessment
Criterion Beginning Developing Proficient Builds a sequence Presses buttons at random Builds a sequence with help Plans the full sequence with cards before coding Debugs Starts over without looking for the error Finds the error with help Finds and fixes the wrong step Uses position words Points only Uses one position word Describes positions with above, below, beside, or next to Extensions
Student Sheets
Help the Mouse Find the Cheese
1 2 3 4 5 6 7 Debug the Program
1 2 3 4 5 6 7 Show answer key (for teachers)
Answer Key & Teacher Notes
Puzzle 1
Puzzle 2
Bug hunt
Teacher notes
