# If-Then Choices > Third graders learn how code makes choices with if-then. If something is true, then do an action: if it is raining, then grab an umbrella. They match each if… **Computer Science** | **Grade 3** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g3-cs-if-then.html* Third graders learn how code makes choices with if-then. If something is true, then do an action: if it is raining, then grab an umbrella. They match each if to its then, then write if-then rules of their own. **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 an **if-then** rule. - Match an **if** to a **then**. - Spot the **true/false** part. - Write an if-then rule. How does a program decide what to do? ## Match the If to Its Then Project this and match each if (a situation) to its then (the action) — tap the if, then tap the then. ## 45 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — When This Happens What do you do IF it starts to rain? #### 👩‍🏫 Teacher Moves - Give an “if” situation. - Ask what to do. - Set the goal. #### 🎒 Student Actions - Think. - Guess. - Get ready. ### Use — If-Then Students use rules. #### 👩‍🏫 Teacher Moves - Send students to Match the If to Its Then. - Match each one. - Note if → then. #### 🎒 Student Actions - Match. - Say. - Note it. ### Modify — Change the Then Students modify. #### 👩‍🏫 Teacher Moves - Change the action after an if. - Try a different situation. - Check it still makes sense. #### 🎒 Student Actions - Change. - Try. - Check. ### Create — Write a Rule Students create. #### 👩‍🏫 Teacher Moves - Write one if-then rule. - Add an else (otherwise). - Share it with a partner. #### 🎒 Student Actions - Write. - Add. - Share. ### Reflect — Reflect Students close. #### 👩‍🏫 Teacher Moves - Say what if-then means. - Give one rule. - Complete the exit ticket. #### 🎒 Student Actions - Say it. - Give one. - 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. Create programs with conditionals (if-then). Decompose a problem into smaller parts. Test and debug a program to make sure it runs. Use logic to make decisions. ## One lesson, every learner ### Multilingual Learners - Act out “if I clap, then you stand.” - Frame: “if ___, then ___.” - Match pictures first. ### Support & Access - Match one pair at a time. - Use 3 rules. - Use picture cards. ### Stretch & Extend - Add an else branch. - Make a 2-rule game. - Use a true/false test. ### What to gather - 📽️Screen / board - ❓If/then cards - 💻Match the If to Its Then - 🎮Simple game blocks - 📓Notebooks - 🎫Exit-ticket slips ### Key terms - **if-then**: a rule: if true, then do an action - **condition**: the “if” part that is true or false - **action**: the “then” part that happens - **true**: the condition is met - **false**: the condition is not met - **else**: what to do otherwise - **decision**: a choice the program makes - **rule**: an if-then statement ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Reflect: if-then. Have students write one if-then rule for a game. A printable if-then worksheet is in the Computer Science library. ## Check your understanding **1. What does “if-then” mean?** - a choice the program makes - the condition is met - a rule: if true, then do an action *(correct)* - an if-then statement “if-then” means: a rule: if true, then do an action **2. Which word means: “the “if” part that is true or false”?** - condition *(correct)* - rule - action - else “condition” means: the “if” part that is true or false **3. What does “action” mean?** - a rule: if true, then do an action - what to do otherwise - the “if” part that is true or false - the “then” part that happens *(correct)* “action” means: the “then” part that happens **4. Which word means: “the condition is met”?** - action - true *(correct)* - condition - rule “true” means: the condition is met **5. What does “false” mean?** - the condition is met - the “then” part that happens - what to do otherwise - the condition is not met *(correct)* “false” means: the condition is not met **6. Which word means: “what to do otherwise”?** - rule - else *(correct)* - action - condition “else” means: what to do otherwise ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g3-cs-if-then.html All lessons: https://lessonplans.k12academics.com/