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.
If...
Then...