In this lesson, the students will learn to sequence actions using "if/then" statements, helping them understand cause and effect relationships and laying the groundwork for logical thinking in coding.
This exercise fosters their ability to recognize and predict outcomes based on given conditions, which is essential for programming.
Today, you'll be guiding your students through a series of interactive activities designed to help them grasp the concept of 'if/then' statements. This lesson builds on their understanding of sequencing from previous lessons and is a crucial step toward understanding conditional logic, which is fundamental in coding.
The format of this lesson is:
Start by asking the students, "Can you remember some examples of the bossy words we talked about last week?" Encourage them to share words like "sit," "stop," "run," and "clean." Take a moment to discuss what these bossy words mean and how they tell us what to do. If helpful, you can revisit the Bossy Words slides and interactive game from Lesson 1 to reinforce the concept.
Next, ask the students if they can recall the 'first and then' activity in the previous lesson. Encourage them to think of any examples. Explain that today, they will be learning about the terms 'if' and 'then.'
Introduce the game to the students by explaining that they will be playing a version of Simon Says, but this time using the word "if." Start with simple instructions that include "if," such as:
Refer to the teacher notes for a longer list of 'if' commands that you can use during the game.
Encourage the students to select the option they think best fits the situation and take a vote to see what they should do next. Repeat this process with additional examples to reinforce the concept of "if" and "then" statements.
Begin by printing and distributing the 'If/Then' Activity Worksheet (➡️)to your class.
For this worksheet, students must draw what they believe would happen in different scenarios.
Display the worksheet on the whiteboard so that everyone can follow along. Start with the first image, which shows 'If it is raining.' Engage the students by asking what they think might happen next in this scenario. Encourage responses like using an umbrella, putting on a coat, splashing in puddles, or staying inside.
Draw the class's chosen answer in the 'Then' box on your whiteboard.
Allow the students to draw their own answers into the 'Then' box on their worksheets.
Continue this process with the remaining two 'if' scenarios, encouraging discussion about the students' explanations and illustrations.