Unplugged Coding Puzzles Through the Year

← Free Lesson Plans for Teachers

Free Lesson Plan

Grades K–4Engineering & Coding45 min1A-AP-101A-AP-141B-AP-10

⬇ Download PDF (lesson, student sheets & answer key)

Driving question: How can we write, test, and fix step-by-step programs without a computer?

Overview

Ten monthly grid puzzles (September through June) give students a short unplugged coding challenge each month. Each puzzle is a 4 × 4 grid with a start, a goal, and, in most months, blocked squares. Students write arrow programs, shorten them with loops, and in later months add an if-then rule. The puzzles work as a morning starter, a center, or a whole-class lesson.

This plan launches the set in one lesson and gives a routine for the rest of the year. Students design algorithms, use sequences, loops, and conditionals, and debug their own programs.

Standards

CodeStandard
CSTA 1A-AP-10 (2017)order of steps and repeats
CSTA 1A-AP-14 (2017)finding and fixing program errors
CSTA 1B-AP-10 (2017)programs with events, loops, and decisions

Grades K–2: 1A codes. Grades 3–4: 1B-AP-10 (loops and if-then rules in the spring puzzles). 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.

Learning Objectives

Students will:

  • write arrow programs that reach a goal without crossing blocked squares.
  • shorten programs with loops.
  • (Grades 3–4) follow and write an if-then rule.
  • test and debug programs.

Materials

Geyer resources for this lesson

Also needed

  • Puzzle pages (Student Sheets 1-2), dry-erase sleeves or pencils
  • Small counters to move along the grid
  • Arrow cards from Floor Grid Coding (Lesson 517), optional

Vocabulary

WordWhat it means
sequenceSteps in order.
loopSteps repeated a number of times.
conditionalAn if-then rule: if something is true, then do an action.
debugTo find and fix a mistake.

Safety Notes

  • No special hazards. Keep counters away from very young children who might put them in their mouths.

Before You Teach

  • Copy Student Sheets 1-2 or put them in dry-erase sleeves. Pick the current month’s puzzle for the launch.

Warm-Up (5 min)

  • Draw a 4 × 4 grid on the board. Ask a student to move a counter from start to goal while the class calls out arrows.

Procedure

Launch (10 min)

  1. Model the September puzzle: write , then shorten it to repeat 3 [].
  2. Explain the rules: each arrow moves one square; never land on a gray square.

Solve (20 min)

  1. Students solve the current month’s puzzle and one more, moving a counter to test.
  2. Partners trade programs and check each other’s code by running it with a counter.
  3. Grades 3–4: try the if-then challenge at the bottom of Student Sheet 2.

Debug and plan the routine (10 min)

  1. Share a program that did not work. Find the bug as a class.
  2. Explain the monthly routine: a new puzzle each month in the morning work bin.

Differentiation

SupportOn-levelChallenge
• Start with September, December, and May (no blocks).
• Allow students to draw the path first, then write arrows.
• Complete the procedure and student sheets as written.• Find the shortest program for each puzzle.
• Design a new puzzle with 3 blocks for the next month.

Assessment

  • Check that programs avoid blocked squares.
  • Check loop use in later months.

Exit ticket: Ask: "Write a program with a loop for a counter that moves 3 squares up." (repeat 3 [].)

CriterionBeginningDevelopingProficient
SequenceDoes not reach goalReaches with errors fixedReaches goal correctly
LoopsNoneSomeUses loops where steps repeat
DebugCannot find bugFinds bugFinds and fixes bug

Extensions

  • Run the puzzles with a floor robot on a large grid.
  • Related: Floor Grid Coding (Lesson 517).

Student Sheets

Use these sheets in class, or download the PDF for a print-ready layout.

Student Sheet 1

Monthly Puzzles: September to January

Print-ready version in the PDF.

Name: ______________________________   Date: ______________

S = start, = goal, gray = blocked. Write a program under each grid.

SEP
S
OCT
S
NOV
S
DEC
S
JAN
S

Student Sheet 2

Monthly Puzzles: February to June

Print-ready version in the PDF.

Name: ______________________________   Date: ______________

FEB
S
MAR
S
APR
S
MAY
S
JUN
S

If-then challenge (grades 3–4): Rule: IF the next square is gray, THEN step up first; ELSE step right. Start at S in the March puzzle. Use the rule until you are past the gray squares, then step down to the star.

Arrows the rule made:

Show answer key (for teachers)

Answer Key & Teacher Notes

Answer Key (one correct program each; others can work)

  • SEP: repeat 3 [ ]
  • OCT:
  • NOV:
  • DEC: repeat 3 [ ]
  • JAN: repeat 3 [ ]
  • FEB:
  • MAR: repeat 3 [ ]
  • APR: repeat 3 [ ]
  • MAY: repeat 3 [ ]
  • JUN:
  • If-then challenge (March): at S the next square is gray, so step up (). The rule then gives (no gray ahead on the new row), then step down: .
  • Exit ticket: repeat 3 [].
SEP
S
OCT
S
NOV
S
DEC
S
JAN
S
FEB
S
MAR
S
APR
S
MAY
S
JUN
S

Need a print-ready copy? The PDF includes the lesson, student sheets, and answer key.

Download the PDF  |  All free lesson plans

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.