# What Is an Algorithm? A Recipe of Exact Steps > Students discover that an algorithm is just a clear set of step-by-step instructions — and that computers, like very literal helpers, do exactly what the… **Computer Science** | **Grades 3–5** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-algorithms.html* Students discover that an algorithm is just a clear set of step-by-step instructions — and that computers, like very literal helpers, do exactly what the steps say, in order. **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… - Explain that an **algorithm** is a set of step-by-step instructions. - Put the steps of a task in the correct **order**. - Explain why **order** matters in instructions. - Write a clear algorithm for a simple task. A computer will do exactly what you tell it — no more, no less. So how do you write instructions clear enough that even a robot can follow them? ## Order the Steps Project this and have students put the steps of making a jam sandwich in the right order. The tool checks whether the algorithm works. ## 45 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Warm-Up — The Literal Robot Give a robot silly, unclear directions — what happens? #### 👩‍🏫 Teacher Moves - Pretend to be a robot; take students’ vague steps literally. - Show how unclear steps fail. - Set the goal: clear algorithms. #### 🎒 Student Actions - Give the “robot” directions. - Laugh at the literal results. - Predict what “algorithm” means. ### Learn — Steps in Order Teacher defines algorithm. #### 👩‍🏫 Teacher Moves - Define algorithm = step-by-step instructions. - Show that order matters. - Model ordering a real task. #### 🎒 Student Actions - Learn the definition. - See why order matters. - Order a simple task. ### Use It — Order the Steps Students use the tool. #### 👩‍🏫 Teacher Moves - Have students order the sandwich steps. - Check if the algorithm “works.” - Fix any out-of-order steps. #### 🎒 Student Actions - Order the steps. - Run/check the algorithm. - Fix the order if needed. ### Create — Write Your Own Students create an algorithm. #### 👩‍🏫 Teacher Moves - Assign a task (brush teeth, tie shoes). - Have students write clear numbered steps. - Trade and “run” each other’s. #### 🎒 Student Actions - Write a clear algorithm. - Number the steps. - Test a partner’s. ### Share — Share Students share an algorithm. #### 👩‍🏫 Teacher Moves - Invite students to read an algorithm aloud. - Have the class “run” it literally. - Hand out the exit ticket. #### 🎒 Student Actions - Read an algorithm. - Fix a missing step. - Complete the exit ticket. ## Built to the standards you report on Aligned to the ISTE Standards for Students and the CSTA K-12 Computer Science Standards. Develop programs with sequences and simple loops to express ideas or address a problem. Compare and refine multiple algorithms for the same task and determine which is most appropriate. Break problems into parts and create step-by-step algorithms. Describe the steps in a technical procedure using language that pertains to sequence. ## One lesson, every learner ### Multilingual Learners - Picture cards of steps to order. - Sentence frame: “First ___. Next ___.” - Act out each step in order. ### Support & Access - Order three steps before four. - Provide the first step to start. - Use picture-supported steps. ### Stretch & Extend - Write an algorithm with a repeated step. - Find a missing step in a broken algorithm. - Compare two algorithms for the same task. ### What to gather - 📽️Projector / board - 📓Notebooks - 💻Order the Steps - 🗂️Step cards - ✏️Pencils - 🎫Exit-ticket slips ### Key terms - **algorithm**: a set of step-by-step instructions - **step**: one instruction in an algorithm - **sequence**: the order of steps - **instruction**: a command to follow - **order**: the arrangement of steps - **input**: what you start with - **output**: the result - **debug**: to find and fix a mistake ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Going deeper? Program a partner. Have one student write an algorithm to draw a simple shape, then a partner follows it exactly — and they debug any unclear steps together. A printable “program a partner” sheet is in the CS library. ## Check your understanding **1. What does “algorithm” mean?** - a command to follow - the order of steps - a set of step-by-step instructions *(correct)* - to find and fix a mistake “algorithm” means: a set of step-by-step instructions **2. Which word means: “one instruction in an algorithm”?** - sequence - step *(correct)* - instruction - output “step” means: one instruction in an algorithm **3. What does “sequence” mean?** - the arrangement of steps - a set of step-by-step instructions - the order of steps *(correct)* - one instruction in an algorithm “sequence” means: the order of steps **4. Which word means: “a command to follow”?** - algorithm - order - instruction *(correct)* - input “instruction” means: a command to follow **5. What does “order” mean?** - the arrangement of steps *(correct)* - what you start with - the result - the order of steps “order” means: the arrangement of steps **6. Which word means: “what you start with”?** - input *(correct)* - algorithm - sequence - order “input” means: what you start with ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-algorithms.html All lessons: https://lessonplans.k12academics.com/