Lesson 5: Problem-Solving Through Code
Duration of Days: 1
Lesson Objective
Students will apply knowledge gained during exploration to code a solution to a given real-world or digital problem[cite: 1, 2, 4].
Students will use block-based programming sequence steps and debug errors to achieve a specific goal[cite: 1, 2, 4].
"How can we use computer code to build a step-by-step solution to a problem?"
ISTE Standard 3: Knowledge Constructor – Build knowledge by actively exploring issues, developing theories, and pursuing answers and solutions.
Grade Expectation: Apply what they have learned to code a solution to a problem using block-based programming
DOK 2 (Skills & Concepts): Sequencing code blocks in the correct order to guide a character or solve a puzzle.
DOK 3 (Strategic Thinking): Testing a coded solution, evaluating why it failed (debugging), and modifying the steps to reach the target outcome
Engineers and programmers write code to control helper robots, automate factory machines, and create clean energy solutions
Support/Intervention: Use directional arrow cards for physical pre-coding before typing blocks on screen; start with 2-step maze puzzles.
Extension/Challenge: Challenge students to solve coding puzzles using loops (repeat blocks) or design their own custom maze for a peer to solve
-
Formative Check: Teacher observation of student debugging strategies when a code sequence does not achieve the goal[cite: 1, 4].
-
Summative Demonstration of Learning: Demonstration of problem-solving ability by successfully creating, testing, and debugging a block-based code sequence that solves an assigned challenge
-
Student computers or Chromebooks.
-
Block-based coding platforms (Code.org Course B, Kodable, or CodeSpark)[cite: 1, 4].
-
Physical maze activity grids or robot tools (e.g., Code & Go Robot Mouse)[cite: 1, 4]