Computer Science Grade 1 20 min

If You're Cold, Then...

Exploring the consequence of being cold (wearing a jacket).

Tutorial Preview

1

Introduction & Learning Objectives

Learning Objectives Identify a simple condition (the 'if' part). Identify the action that follows a condition (the 'then' part). Explain an 'If...Then...' statement using a real-world example. Follow a simple one-step 'If...Then...' instruction. Create their own simple 'If...Then...' rule about a classroom activity. Decide if an action should happen based on a given condition. Brrr! What do you do if you feel cold? 🥶 You make a choice! We will learn about special rules called 'If...Then...'. These rules help us, and even computers, make smart choices. It's like being a detective for decisions! 🕵️‍♀️ Real-World Applications Putting on a jacket if it is cold outside. Getting an umbrella if it is raining....
2

Key Concepts & Vocabulary

TermDefinitionExample If...Then...A special rule that connects a question with an action.IF you are hungry, THEN eat a snack. 🍎 ConditionThe 'If' part. It's a question we ask. Is it true or not?In 'If it is sunny...', the condition is 'it is sunny'. ☀️ ActionThe 'Then' part. It's the thing we DO when the 'If' is true.In '...then wear sunglasses', the action is 'wear sunglasses'. 😎 RuleA direction that tells us what to do. 'If...Then...' is a type of rule.A classroom rule: IF you want to speak, THEN raise your hand. 🙋 Computer BrainComputers follow 'If...Then...' rules to make choices, just like we do!A game rule: IF the player finds a key, THEN a door opens. 🔑
3

Core Syntax & Patterns

The 'If...Then...' Pattern IF [a condition is true], THEN [do an action]. Use this to make a decision. First, check the 'If' part. If it's true, you must do the 'Then' part. The 'Do Nothing' Pattern IF [a condition is NOT true], THEN [do nothing]. If the 'If' part is not true, you just skip the action. You don't have to do anything!

4 more steps in this tutorial

Sign up free to access the complete tutorial with worked examples and practice.

Sign Up Free to Continue

Sample Practice Questions

Challenging
Rule 1: IF it is winter, THEN it might be cold. Rule 2: IF it is cold, THEN wear a jacket. It is winter. What should you probably do?
A.Wear shorts because it might be warm
B.Wear a jacket because it might be cold
C.Go to the beach
D.Eat a watermelon
Challenging
A computer's rule is: IF you are cold, THEN check the window. IF the window is open, THEN close it. You are cold and the window is open. What do you do LAST?
A.Feel cold
B.Check the window
C.Close the window
D.Open the door
Challenging
You want to make a rule for a robot to make hot chocolate, but it needs help from a person. What is the safest 'IF...THEN...' rule?
A.IF you want hot chocolate, THEN get a cup.
B.IF you are cold, THEN ask a grown-up to help make hot chocolate.
C.THEN make hot chocolate, IF you are cold.
D.IF you are thirsty, THEN drink water.

Want to practice and check your answers?

Sign up to access all questions with instant feedback, explanations, and progress tracking.

Start Practicing Free

More from If...Then...: Simple Conditional Statements

Ready to find your learning gaps?

Take a free diagnostic test and get a personalized learning plan in minutes.