# Planning a Program > Fifth graders build programming skills by learning the steps of planning a program before they code - understand the goal, break it down, plan the steps, then build and test - and put them in order. **Computer Science** | **Grade 5** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g5-cs-planning-program.html* Fifth graders learn that good coders plan before they type, from understanding the goal and breaking it down to planning the steps, then building and testing, and put the steps 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… - Understand the **goal**. - Break it into **steps**. - Plan before **coding**. - Order the steps. Good code starts on paper, not the keyboard. What are the steps of planning a program, and why does planning first make building easier? ## Order the Steps Project this and put the steps of planning a program in order — tap each step from understanding the goal to testing. ## 50 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — Plan First It is tempting to start typing code right away. Why do good programmers plan on paper before they touch the keyboard? #### 👩‍🏫 Teacher Moves - Show a messy jump-in. - Ask what's missing. - Set the goal. #### 🎒 Student Actions - Think. - Share. - Get ready. ### Use — Order the Steps Students put the planning steps in order. #### 👩‍🏫 Teacher Moves - Send students to Order the Steps. - Order the steps. - Name each one. #### 🎒 Student Actions - Order. - Say. - Note it. ### Modify — Plan a Mini-Project Students plan a small program. #### 👩‍🏫 Teacher Moves - Pick a tiny project. - Break it into steps. - Write the steps down. #### 🎒 Student Actions - Pick. - Break. - Write. ### Create — My Plan Students make a full plan. #### 👩‍🏫 Teacher Moves - Name your goal. - List the steps in order. - Note how you will test it. #### 🎒 Student Actions - Name. - List. - Note. ### Reflect — Measure Twice Students reflect on planning. #### 👩‍🏫 Teacher Moves - Why plan before coding? - Why test at the end? - Complete the exit ticket. #### 🎒 Student Actions - Say it. - Say it. - 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. Decompose a problem into smaller parts. Plan and test programs before and after coding. Create a plan that describes a program's steps. Break a problem into steps to plan a solution. ## One lesson, every learner ### Multilingual Learners - Step picture cards. - Sentence frame: “First I ___ , then I ___ .” - Order two steps at a time. ### Support & Access - Start with 'understand the goal'. - Plan one tiny program together. - Add one step at a time. ### Stretch & Extend - Plan a multi-part project. - Write pseudocode for each step. - Explain the plan to a partner. ### What to gather - 📽️Projector / board - 🖼️Planning-step cards - 💻Order the Steps - 📝Planning sheets - ✏️Pencils - 🎫Exit-ticket slips ### Key terms - **plan**: a description of what a program will do and how - **goal**: what you want the program to accomplish - **decompose**: to break a problem into smaller parts - **pseudocode**: plain-language steps that describe code - **algorithm**: a step-by-step set of instructions - **test**: to check that a program works as planned - **debug**: to find and fix mistakes in code - **sequence**: the order steps happen in ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Create: my plan. Have students name a small program goal, break it into steps written in order, and note how they will test it, so planning becomes a habit before coding. A printable program-planning worksheet is in the Computer Science library. ## Check your understanding **1. What does “plan” mean?** - a description of what a program will do and how *(correct)* - what you want the program to accomplish - to break a problem into smaller parts - plain-language steps that describe code “plan” means: a description of what a program will do and how **2. Which word means: “what you want the program to accomplish”?** - plan - goal *(correct)* - decompose - pseudocode “goal” means: what you want the program to accomplish **3. What does “decompose” mean?** - a description of what a program will do and how - what you want the program to accomplish - to break a problem into smaller parts *(correct)* - plain-language steps that describe code “decompose” means: to break a problem into smaller parts **4. Which word means: “plain-language steps that describe code”?** - plan - goal - decompose - pseudocode *(correct)* “pseudocode” means: plain-language steps that describe code **5. What does “algorithm” mean?** - a step-by-step set of instructions *(correct)* - a description of what a program will do and how - what you want the program to accomplish - to break a problem into smaller parts “algorithm” means: a step-by-step set of instructions **6. Which word means: “to check that a program works as planned”?** - plan - test *(correct)* - goal - decompose “test” means: to check that a program works as planned ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g5-cs-planning-program.html All lessons: https://lessonplans.k12academics.com/