Computer Science Grade 1 20 min

If You Say Please, Then...

Understanding the consequence of saying please (receiving something politely).

Tutorial Preview

1

Introduction & Learning Objectives

Learning Objectives Identify the 'if' part (condition) of a simple rule. Identify the 'then' part (action) of a simple rule. Create their own simple 'If...Then...' rule using pictures or words. Follow a two-step 'If...Then...' instruction. Explain that computers use rules to make decisions. Act out an 'If...Then...' scenario. What happens when you say the magic word? ✨ Let's find out! We will learn about special rules called 'If...Then...'. These rules tell a computer what to do. It's like teaching a robot how to be polite! Real-World Applications If it is raining 🌧️, then you take an umbrella. If the light is green 🟢, then you can cross the street. If you are hungry 😋, then you eat a snack....
2

Key Concepts & Vocabulary

TermDefinitionExample If...Then...A special rule that has two parts. It tells us what to do.IF you say 'please', THEN I will give you a cookie 🍪. Condition (The 'If' part)The first part of the rule. It's the thing we check for.IF the cat is sleeping... 😴 Action (The 'Then' part)The second part of the rule. It's the thing we do....THEN be very quiet. 🤫 RuleAn instruction that a computer follows every single time.A robot's rule could be: IF I see a red block, THEN I stop. 🟥 Computer BrainComputers don't think like us. They only follow the rules we give them.You have to tell a computer: IF a button is pushed, THEN play a song. 🎶
3

Core Syntax & Patterns

The 'If...Then...' Pattern IF [a condition is true], THEN [do an action]. Use this pattern to make a clear instruction. The computer checks the 'IF' part first. If it's true, it does the 'THEN' part. One Thing at a Time Check one IF, then do one THEN. Computers like simple rules. They check one condition and do one action at a time. This helps them not get confused.

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
A light turns on only when it's dark AND you clap. It's daytime, and you clap. What happens?
A.The light turns on
B.The light flickers
C.Nothing happens
D.The sun gets brighter
Challenging
A smart toy lights up IF you press the blue button OR IF you press the yellow button. You press the yellow button. What will the toy do?
A.Make a sound but not light up
B.Do nothing
C.Turn off
D.It will light up
Challenging
The rule is: IF you are quiet during story time, THEN you get to be the line leader. Alex was NOT the line leader. What is most likely true?
A.Alex was quiet during story time
B.Alex was not quiet during story time
C.Alex doesn't like being the line leader
D.The teacher forgot the rule

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.