← Free Lesson Plans for Teachers Free Lesson Plan Grade 6Coding3 sessions x 50 minOzobot2-AP-102-AP-17 ⬇ Download PDF (lesson, student sheets & answer key) Driving question: How can we design, test, and refine an algorithm for a robot mission? Students plan an algorithm with a flowchart or pseudocode for an Ozobot Evo to navigate the Mission to Mars challenge mat, collect supply crates, and reach the base. They code in Ozobot Blockly, then try the program from several starting setups (different start points and crate orders) and improve it. Students sketch a plan with a flowchart or plain-language steps, then try the program from several setups and improve it. CSTA K-12 CS Standards (2017), Level 2 (grades 6-8). This lesson has not been reviewed or endorsed by CSTA. Students will: Geyer resources for this lesson Exit ticket: Ask: "Which test case revealed a bug, and how did you fix it?" Use these sheets in class, or download the PDF for a print-ready layout. Student Sheet 1 Print-ready version in the PDF. Name: ______________________________ Date: ______________ Student Sheet 2 Print-ready version in the PDF. Name: ______________________________ Date: ______________ Our most important refinement: Need a print-ready copy? The PDF includes the lesson, student sheets, and answer key. 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. Photo: NASA/JPL-Caltech/MSSS, Public domain, via Wikimedia Commons.Overview

Standards
Code Standard CSTA 2-AP-10 (2017) planning a program with a flowchart or plain-language steps CSTA 2-AP-17 (2017) trying a program from several setups and improving it Learning Objectives
Materials
1 robot per team of 3-4 (or 1-2 rotating at the mat); includes charging cable and case, and works with color codes and Ozobot Blockly.
1 mat per class or station with Landing Site, Base Camp, 5 supply crates, and 3 Evo robot arms.Also needed
Vocabulary
Word What it means algorithm A step-by-step set of instructions to solve a problem. flowchart A diagram showing the steps and decisions in an algorithm. pseudocode Plain-language steps written like code. test case A specific situation used to check a program. refine Improve based on testing. Safety Notes
Before You Teach
Warm-Up (5 min)
Procedure
Session 1: Plan the algorithm (45 min)
Session 2: Code (50 min)
Session 3: Test and refine (50 min)
Differentiation
Support On-level Challenge • Provide a partial flowchart.
• Two test cases.• Complete the procedure and student sheets as written. • Use line-following with color-code decisions.
• Minimize total path length.Assessment
Criterion Beginning Developing Proficient Algorithm Steps only Some decisions Clear flowchart with decisions/loops Testing One case Two cases Three or more with causes recorded Refinement None One fix Iterated until all cases pass Extensions
Student Sheets
Mission Algorithm
Test Log
Test case Expected result Actual result Pass / fail Cause and fix Start A, crate 1 then 2 Start B, crate 2 then 1 Start C, crate 1 then 2 Show answer key (for teachers)
Answer Key & Teacher Notes
Sheets 1-2
Test Case Cards (for Session 3)
Flowchart or pseudocode: start, move, decisions (if/else), loops, collect crates, reach base.
