← Free Lesson Plans for Teachers Free Lesson Plan Grades K–3Engineering & Coding45 min1A-AP-081A-AP-101A-AP-14 ⬇ Download PDF (lesson, student sheets & answer key) Driving question: How can a short loop replace a long list of steps? Students code with their whole bodies on a 5 × 5 floor grid made of masking tape (or test the same paths on a tabletop grid mat with counters or a small robot). A “programmer” lays arrow cards to guide a “robot” classmate from the start square to a star. After writing long lists of arrows, students learn to shorten them with a repeat loop: "repeat 3 [right]" means move right three times. Students write algorithms as step lists, use loops, and find and fix bugs in a program. The same arrow cards and puzzles work later with any floor robot. Grades K–2: 1A codes. Grade 3: early practice toward 1B-AP-10 (loops). CSTA codes are from the CSTA K-12 CS Standards (2017); the short labels are our own summaries, not CSTA wording. This lesson has not been reviewed or endorsed by CSTA. Students will: Geyer resources for this lesson Exit ticket: Ask: "Write repeat 3 [] as a list of arrows." ( .) 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: ______________ Student Sheet 2 Print-ready version in the PDF. Name: ______________________________ Date: ______________ S = start. = goal. Gray squares are blocked. Each arrow moves one square. Student Sheet 3 Print-ready version in the PDF. Name: ______________________________ Date: ______________ This program should take the robot from S to the . Run it with your finger. Program: repeat 4 [ ] Where does the robot end up? Fixed program: 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: CSTA K-12 CS Standards © CSTA.Overview
Standards
Code Standard CSTA 1A-AP-08 (2017) everyday routines as a list of steps CSTA 1A-AP-10 (2017) order of steps and repeats CSTA 1A-AP-14 (2017) finding and fixing program errors Learning Objectives
Materials
Tabletop grid mat (5" squares) for counters or a small robot mouse; use masking tape with 30 cm squares for whole-body floor coding.
Optional next step: run the same puzzles with a screen-free robot.Also needed
Vocabulary
Word What it means algorithm A list of steps to do a task. program Steps written so a robot or computer can follow them. loop Repeating steps; “repeat 3 [right]” means right, right, right. bug A mistake in a program. debug To find and fix a bug. Safety Notes
Before You Teach
Warm-Up (5 min)
Procedure
Arrow coding (15 min)
Loops (15 min)
Debug and share (10 min)
Differentiation
Support On-level Challenge • Use a 3 × 3 grid and arrows only.
• Teacher reads cards; students point.• Complete the procedure and student sheets as written. • Create a puzzle with two blocks for a partner, and write the shortest program with loops.
• Use turn cards (turn left, turn right, forward) instead of arrows.Assessment
Criterion Beginning Developing Proficient Sequence Does not reach goal Reaches with help Reaches goal on own Loops No loops Uses a loop with help Uses loops to shorten programs Debug Cannot find bug Finds bug Finds and fixes bug Extensions
Student Sheets
Arrow and Loop Cards (cut apart)
repeat 2 [ ] repeat 3 [ ] repeat 4 [ ] goal Grid Puzzles
Puzzle 1 Puzzle 2 Puzzle 3 (loop) Puzzle 4 (loop) Fix the Bug
Show answer key (for teachers)
Answer Key & Teacher Notes
Answer Key
Code:
Code:
Code:
Code:
