Coding Across the USA

← Free Lesson Plans for Teachers

Free Lesson Plan

Grade 5Coding3 sessions x 45 minDashD2.Geo.2.3-51B-AP-10

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

Driving question: How can we use a map and code to tour U.S. regions?

Overview

Students study a U.S. map mat to identify regions, states, and capitals and explain how regions differ in climate and landforms. Teams then program a Dash robot to drive a route that visits one state in each of five regions, using loops, events, and conditionals in the Blockly app.

Students use maps to explain relationships between places and environments, and write a program that uses a sequence of steps, events, loops, and if-then decisions.

Standards

CodeStandard
C3 D2.Geo.2.3-5Use maps, satellite images, photographs, and other representations to explain relationships between the locations of places and regions and their environmental characteristics.
CSTA 1B-AP-10 (2017)programs with events, loops, and decisions

Social studies standards: College, Career, and Civic Life (C3) Framework for Social Studies State Standards © National Council for the Social Studies. CSTA K-12 CS Standards (2017), Level 1B (grades 3-5). This lesson has not been reviewed or endorsed by CSTA.

Learning Objectives

Students will:

  • use a U.S. map to describe regions and their environments.
  • plan a robot route with measured distances and turns.
  • program with sequences, loops, events, and conditionals, and debug.

Materials

Geyer resources for this lesson

  • Wonder Workshop US MAP Robotics Mats
    1 floor mat (150 x 240 cm) per class or station; teams rotate or run tours in turns. Shows all 50 states with capitals on a coordinate grid.
  • Wonder Workshop Dash Robot
    1 robot per group of 4-5 (or 1-2 robots rotating at the mat); use the free Blockly app on a tablet or Chrome browser.

Also needed

  • Tablets or Chromebooks with the Blockly app (1 per robot)
  • Region fact cards: Northeast, Southeast, Midwest, Southwest, West (supplied in Teacher Notes below; 1 set per group)
  • Measuring tape (cm), 1 per group
  • Student Sheets 1-2

Vocabulary

WordWhat it means
regionAn area with features in common.
capitalThe city where a state's government meets.
sequenceSteps in order.
loopCode that repeats.
eventSomething that triggers code, like a button press.
debugFind and fix errors.

Safety Notes

  • Keep Dash on the mat on the floor; walk around, not on, the mat.
  • Charge Dash before class; unplug cords and keep them out of walkways.

Before You Teach

  • Charge robots and tablets. Pair tablets with robots.

Warm-Up (5 min)

  • Ask: "What would you see if you drove from Maine to Arizona?"

Procedure

Session 1: Regions (40 min)

  1. Groups study the mat and region cards. Complete Student Sheet 1: one state per region, its capital, and one environment feature.

Session 2: Plan and code (45 min)

  1. Measure distances in cm between stops on the mat. Plan turns.
  2. Code Dash: drive forward (cm), turn (degrees), and use a loop for repeated moves. Add an event (when button 1 is pressed, say the region name) and a conditional (if Dash detects an obstacle in front or hears a clap, stop and wait).

Session 3: Tour and debug (45 min)

  1. Run the tour. Debug errors one step at a time. Record fixes on Student Sheet 2.
  2. Present the tour, explaining how each region's environment differs.

Differentiation

SupportOn-levelChallenge
• Three regions.
• Starter code provided.
• Complete the procedure and student sheets as written.• Add a second conditional using another sensor (such as distance or sound).
• Find the shortest route.

Assessment

  • Check region facts.
  • Check route plans include measurements.

Exit ticket: Ask: "Where did you use a loop, and why?"

CriterionBeginningDevelopingProficient
GeographyFew factsSomeCorrect regions, states, capitals, and environments
ProgrammingSequence onlySequence and loopSequence, loop, event, and conditional
DebuggingNoneWith helpFinds and fixes errors systematically

Extensions

  • Add a sixth stop in Alaska or Hawaii (inset).
  • Related: Code Around Our Community (Lesson 48).

Student Sheets

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

Student Sheet 1

Region Tour Plan

Print-ready version in the PDF.

Name: ______________________________   Date: ______________

RegionStateCapitalEnvironment (climate, landform)
Northeast
Southeast
Midwest
Southwest
West
LegFromToDistance (cm)Turn (degrees, left/right)
1
2
3
4

Student Sheet 2

Debug Log

Print-ready version in the PDF.

Name: ______________________________   Date: ______________

ProblemCauseFix

Where did you use a loop or an event?

Show answer key (for teachers)

Answer Key & Teacher Notes

Sheets 1-2

  • Examples: Northeast - Maine, Augusta, rocky coast and cold winters. Southeast - Florida, Tallahassee, warm and humid with wetlands. Midwest - Iowa, Des Moines, flat farmland. Southwest - Arizona, Phoenix, hot desert. West - Colorado, Denver, Rocky Mountains.
  • Distances depend on the mat; turns are usually 45-135 degrees.

Region Fact Cards (for Session 1)

  • Northeast: Example: Maine (Augusta). Rocky coastline, Appalachian mountains, four distinct seasons with cold snowy winters; fishing, timber, and ports.
  • Southeast: Example: Florida (Tallahassee). Warm humid climate, coastal plains, wetlands, and long growing seasons; farming and tourism.
  • Midwest: Example: Iowa (Des Moines). Flat plains and rolling prairies with rich soil, warm summers, and cold winters; major grain and livestock farming.
  • Southwest: Example: Arizona (Phoenix). Hot, dry deserts, canyons, and plateaus; scarce water shapes cities and irrigated farming.
  • West: Example: Colorado (Denver). High mountains (Rockies), valleys, and Pacific coast; varied climates from alpine snow to coastal rain.

Teacher notes

  • Region groupings vary by source; accept the five-region model used in many U.S. classrooms.

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; C3 Framework © National Council for the Social Studies.