The if-then rule
About this lesson

A statement is a sentence we can call true or false: “Snow is white” is true; “Cats fly” is false. Questions and commands are not statements. We can join statements. With “and”, both parts must be true: “Today is Saturday and it is sunny.” With “or”, the whole is true if at least one part is true. An “if…, then…” rule says what to do depending on a condition: “If it is raining, then I take an umbrella.” Such rules are used a lot in algorithms and programs.
What the book shows
In computer science the child first learns to think through unplugged games: recognising information, ordering steps and learning safety rules.
Textbook link:
This is not the textbook’s text but a short description of the topic. Check the exact page in your own textbook.
The lesson step by step
- 1
Warm-up5 min
True-or-false game.
- 2
New topic10 min
What is a statement?
- 3
Practice10 min
“And”, “or”.
- 4
Game10 min
If-then cards.
- 5
Wrap-up5 min
Our rules.
Let’s understand
For the student Simple language

| A | B | A and B | A or B |
|---|---|---|---|
| true | true | true | true |
| true | false | false | true |
| false | true | false | true |
| false | false | false | false |
For the parent
How to help
- Find everyday “if…, then…” rules together: “If the light is red, then we stop.”
- Play “true or false?”.
For the teacher
Lesson goals
- Tell true statements from false ones, judge statements joined with “and” and “or”, and build “if…, then…” rules.
How to teach it
- Unplugged games, cards, role play, discussion
Differentiation
- Weaker pupils: 2–3 steps; stronger pupils build their own algorithm
Questions for the class
- How do we decide based on a condition?
How to check
The pupil recognises statements, judges “and/or” correctly and builds if-then rules.
Scientific Scientific language
The computer’s language
Inside a computer everything is worked out with true and false (1 and 0).
As a diagram
“And” and “or” can be drawn as overlapping and joined circles.
Self-study
Step by step
- Is it a statement?
- True or false?
- “And”: both true.
- “Or”: at least one.
- What is the condition, and what do I do?
Going deeper
Scientific language: for older students, parents and teachers.
Traffic lights, lifts and washing machines all run programs with hundreds of if-then rules inside.
Play and check
True or false?
How to write it down
- Write 2 statements with “and” and “or” and mark them true or false.
- Write 3 “if…, then…” rules for school.
How the classwork looks in the notebook
Sample: the date and heading follow this country’s notebook rules.
Watch out: common mistakes
Where it helps in life
- Branching in algorithms
- Logical reasoning
At home
Core
- Find and write 5 “if…, then…” rules at home.
Extra ⭐
- Tell your family 4 joined statements and let them guess true or false.
How to do it
- Do the task with a grown-up.
- Explain in words what you noticed.
Answers for parents
For example: If the kettle boils, then we turn off the stove. If it’s cold, then we wear a jacket. If the phone rings, then we answer.
Step-by-step homework solution — Show the solution (try it yourself first)
Think
- “Today is Sunday or I am at school”: on a school day at school this is true, because one part is true.
How the homework looks in the notebook
Sample: the date and heading follow this country’s notebook rules.