# Algorithms: Best Path > Fourth graders learn that an algorithm is a clear set of steps to solve a problem — and that some algorithms are better than others. If two paths reach the… **Computer Science** | **Grade 4** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g4-cs-algorithms.html* Fourth graders learn that an algorithm is a clear set of steps to solve a problem — and that some algorithms are better than others. If two paths reach the goal, the one with fewer steps is more efficient. They test the idea, then find the best path on a grid. **Copy link** works with Canvas, Schoology, Moodle and any other LMS — paste it in as a resource or assignment. ## Everything you need before the bell rings ### Learning Objectives Students will be able to… - Define an **algorithm**. - Compare two **paths**. - Pick the **most efficient** one. - Plan the best path. What makes one set of steps better than another? ## What Makes a Good Algorithm? Project each item and have students answer about algorithms. ## 45 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — Two Ways There Which path to the door is shorter? #### 👩‍🏫 Teacher Moves - Show two paths on a grid. - Ask which is better. - Set the goal. #### 🎒 Student Actions - Look. - Guess. - Get ready. ### Use — Algorithms Students use the idea. #### 👩‍🏫 Teacher Moves - Send students to What Makes a Good Algorithm? - Note steps & efficiency. - Count steps on each path. #### 🎒 Student Actions - Answer. - Note it. - Count. ### Modify — Shorten It Students modify. #### 👩‍🏫 Teacher Moves - Find a path with fewer steps. - Remove a wasted move. - Compare the two. #### 🎒 Student Actions - Find. - Remove. - Compare. ### Create — Plan a Path Students create. #### 👩‍🏫 Teacher Moves - Pick a start and a goal. - Write the fewest steps. - Count them. #### 🎒 Student Actions - Pick. - Write. - Count. ### Reflect — Reflect Students close. #### 👩‍🏫 Teacher Moves - Say what an algorithm is. - Say why fewer steps is better. - Complete the exit ticket. #### 🎒 Student Actions - Say it. - Say. - Complete the exit ticket. ## Built to the standards you report on Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students. Compare and refine multiple algorithms for the same task. Create programs with sequences, events & loops. Decompose a problem into smaller parts. Plan and compare algorithms. ## One lesson, every learner ### Multilingual Learners - Walk the path on a floor grid. - Frame: “fewer steps is better.” - Count moves aloud. ### Support & Access - Compare two short paths. - Count steps together. - Use a small grid. ### Stretch & Extend - Find the shortest of 3 paths. - Add an obstacle. - Explain why it is shortest. ### What to gather - 📽️Screen / board - 🧭Grid maps - 💻What Makes a Good Algorithm? - 🐾Step counters - 📓Notebooks - 🎫Exit-ticket slips ### Key terms - **algorithm**: a clear set of steps to solve a problem - **step**: one instruction - **path**: a route to the goal - **efficient**: uses the fewest steps - **compare**: look at two options side by side - **shortest**: the fewest steps - **plan**: decide the steps ahead of time - **goal**: what you are trying to reach ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Reflect: algorithms & best path. Have students plan the fewest steps from a start to a goal. A printable algorithms worksheet is in the Computer Science library. ## Check your understanding **1. What does “algorithm” mean?** - uses the fewest steps - one instruction - look at two options side by side - a clear set of steps to solve a problem *(correct)* “algorithm” means: a clear set of steps to solve a problem **2. Which word means: “one instruction”?** - shortest - compare - step *(correct)* - path “step” means: one instruction **3. What does “path” mean?** - a clear set of steps to solve a problem - decide the steps ahead of time - a route to the goal *(correct)* - look at two options side by side “path” means: a route to the goal **4. Which word means: “uses the fewest steps”?** - step - plan - compare - efficient *(correct)* “efficient” means: uses the fewest steps **5. What does “compare” mean?** - uses the fewest steps - a clear set of steps to solve a problem - what you are trying to reach - look at two options side by side *(correct)* “compare” means: look at two options side by side **6. Which word means: “the fewest steps”?** - compare - step - path - shortest *(correct)* “shortest” means: the fewest steps ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g4-cs-algorithms.html All lessons: https://lessonplans.k12academics.com/