The Arizona STEM �Acceleration Project
2025
Maze Challenge: Introduction to Coding and Problem Solving
In this lesson, 4th grade students will explore foundational coding concepts and develop problem-solving skills by navigating programmable robots or coded paths through mazes. Students will learn about algorithms, sequences, and debugging while working collaboratively.
Jaszie Pena
A Fourth-Grade STEM Lesson
The Arizona STEM Acceleration Project
Notes for Teachers
List of Materials
Prior to the lesson, set up maze materials or program virtual maze platforms (e.g., Code.org, Scratch, or Bee-Bots if available).�
This lesson can be taught using physical mazes or computer-based platforms depending on your classroom resources.�
Encourage teamwork and iteration.
Printed maze maps or masking tape for floor mazes�
Coding cards or block coding platforms (e.g., Scratch, Code.org)�
Robots (optional): Bee-Bots, Ozobots, or Dash�
Whiteboards and markers for planning�
Student notebooks
STEM/Coding Book to engage
Copies of the Exit Ticket- Click here
I used:
Standards
Arizona Computer Science Standards:
Arizona Science Standards (Cross-cutting Concepts & Science and Engineering Practices):
Arizona Math Standards:
4.MD.A.2
Use the four operations to solve word problems involving distances, intervals of time, liquid volumes, masses of objects, and money, including problems involving simple fractions or decimals, and problems that require expressing measurements given in a larger unit in terms of a smaller unit. Represent measurement quantities using diagrams such as number line diagrams that feature a measurement scale.
4.MD.A.1
Know relative sizes of measurement units within one system of units including km, m, cm; kg, g; lb, oz; l, ml; hr, min, sec. Express measurements in a larger unit in terms of a smaller unit. Record measurement equivalents in a two-column table.
4.OA.A.3
Solve multistep word problems posed with whole numbers and having whole-number answers using the four operations, including problems in which remainders must be interpreted. Represent these problems using equations with a letter standing for the unknown quantity.
4.OA.C.5
Generate a number or shape pattern that follows a given rule. Identify apparent features of the pattern that were not explicit in the rule itself.
Objectives:
Learn how to write and follow algorithms (coding sequences).�
Apply logical reasoning to solve maze problems.�
Work collaboratively to debug and improve solutions.
Agenda (60 minutes)
Intro/Driving Question/Opening
Driving Question:� How can we give a computer or robot a set of instructions to solve a maze?
Discussion Prompt:
Hands-on Activity Instructions
Group Structure:
Step-by-Step Instructions:
My Classroom:
Beginner Level- Students used mazes I created in block coding to solve the mazes.
Mid Level- Students went into scratch coding to solve the mazes.
Advance Level- Students created their own mazes and worked in a variety of platforms to code the maze in one line of code.
Assessment
Observe group collaboration and problem-solving. I usually like to have a clipboard of this to take notes of what groups are working well and who might need some assistance. �
Exit Ticket: What is one challenge you faced while solving the maze, and how did you overcome it?
Optional: Students write or draw their coded path in sequence form.
Differentiation
Remediation
Extension/Enrichment