Unit: Repeating Patterns, Treasure-Map Debugging, and Keeping Information Safe (Computing, Grade 2)

Unreviewed AI draft. Written by Gemini 4 Argon (2026-11-05). No human teacher has reviewed this unit. All content is CC0 1.0 Public Domain.

Overview

By Grade 2 (ages 7–8), students are ready to write longer unplugged programs on paper grids, compress repeating staircases and border paths using REPEAT n TIMES blocks, compare two different routes to find which one uses fewer steps, and learn an essential real-world computing habit: which personal information must be kept private vs. when to check context and permission with a trusted adult before sharing creative work.

Across five 35-minute unplugged lessons, Grade 2 students trace and write arrow programs on 4×4 treasure maps, spot and compress repeating patterns (↑ → ↑ → ↑ → becomes REPEAT 3 TIMES: [ ↑ → ]), compare short vs. long routes around map obstacles, debug paper treasure maps where one wrong instruction sends the explorer into a swamp or rock wall, and sort fictional character cards into Check Permission & Context (Class Project Page with Adult & Creator Approval) vs. Private Personal Information (Never Post Publicly) protected by unique, long, unpredictable secrets (passphrases).

Prior knowledge

Learning goals

By the end of this unit, a student can:

  1. Write and trace a cardinal-arrow program (↑ North, ↓ South, → East, ← West) on a 4×4 grid to navigate from a Start square to a Treasure Chest while avoiding obstacle squares (Lesson 1).
  2. Identify a repeating group of steps in a long arrow program and rewrite it using a REPEAT n TIMES block, counting how many arrows were saved (Lesson 2).
  3. Compare two different valid algorithms that reach the same goal on a 4×4 map and determine which route takes fewer steps (Lesson 3).
  4. Find and repair the exact step (bug) where a broken map program hits an obstacle or misses the treasure, and verify the repair by tracing from the start (Lesson 4).
  5. Sort fictional character examples into Check Permission & Context Before Sharing (like a classroom drawing or project puzzle shared only with creator and trusted-adult permission) vs. Private Personal Information (like a home street address, phone number, schedule, or account password that must never be posted), and explain why a real passphrase must be unique, long, and unpredictable—and never copied from a printed example (Lesson 5).

Lesson sequence

Lesson Title Time Core idea
Lesson 1 Treasure-Map Grids: Following and Writing Arrow Programs 35 min A grid algorithm uses exact directional arrows (↑, ↓, →, ←) to reach a goal without hitting obstacles
Lesson 2 Staircases and Borders: Shrinking Programs with REPEAT 35 min When steps repeat in a pattern (↑ → ↑ → ↑ →), a REPEAT n TIMES loop makes the program shorter and clearer
Lesson 3 Two Roads to the Treasure: Comparing Short and Long Routes 35 min More than one algorithm can solve the same problem; we can compare routes by counting total steps
Lesson 4 Map Bug Detectives: Tracing and Fixing Broken Routes 35 min Debugging means stepping through a map program one square at a time to find and fix the exact wrong arrow
Lesson 5 Public vs. Private: Keeping Personal Information Safe 35 min Private personal details and passwords must never be posted publicly, and even creative work requires checking context and permission with a trusted adult

Materials for the whole unit

Assessment summary

Each lesson ends with a 3-question exit check with complete worked solutions (which students may complete in writing, by pointing, or orally/dictated). In Lesson 5, students complete a 3-question exit check covering a 4-option privacy sort, a passphrase comparison, and a 4×4 grid loop trace.

Sources

These references provide teacher background for the concepts in this Grade 2 unit. All links were checked to load on 2026-11-05.

Known gaps and cautions