What is conditional logic?
A conditional is a rule with a test and an action: if it is raining, then take an umbrella. Some rules add "otherwise" (else): if it is raining, take an umbrella; otherwise, take a cap. Conditional logic is deciding which rule applies and following it correctly.
- If (condition), then (action).
- "Otherwise" covers the other case.
- Programs use conditions to make choices.
What are everyday examples of conditional logic?
- If the light is red, stop; if it is green, go.
- If it is a school day, pack the bag; otherwise, sleep in.
- If the milk smells sour, do not drink it.
- In a game: if you land on a ladder, climb up.
Why does conditional logic matter for children?
Conditional logic teaches children to check a fact before acting, and to plan for more than one case.
Every app, game and website uses conditions to decide what to show next.
How does conditional logic grow from Class 3 to Class 5?
| Class | What children do | Thinkroo module |
|---|---|---|
| Class 3 | Complete and follow simple if-then rules | If-Then |
| Class 4 | Follow and write rules that decide what a machine does | If-Then |
| Class 5 | Decide whether the given clues are enough to answer | Sufficiency |
Where does conditional logic appear in the CBSE handbooks?
The CBSE Computational Thinking handbooks for Classes 3 to 5 (first edition, March 2026) name six components: decomposition, pattern recognition, abstraction, algorithm design, data analysis and troubleshooting. Condition-based reasoning is named in the Class 5 handbook, and many chapters across classes use clues and conditions to rule options in or out.
| Class | Chapter | What the puzzles ask |
|---|---|---|
| Class 3 | 4. Toy Joy | Solid shapes: counting faces and corners, hidden dots on stacked cubes, and what a solid looks like from the top or the side. |
| Class 3 | 7. Fun with Shapes | Folding paper along a line, which shapes overlap, and shapes that grow in a pattern. |
| Class 3 | 10. Fair Share | Halves and sharing: folding to find the original shape, splitting the alphabet in two, half of a number. |
| Class 3 | 11. House of Hundreds (II) | Place value puzzles: conditions on digits, products of two numbers, and what is definitely true. |
| Class 3 | 13. Filling and Lifting | Weight and capacity: heavier and lighter with given differences, and what a scale can and cannot measure. |
| Class 3 | 14. Give and Take | Money and exchange: halving an amount, moving marbles between boxes, swapping numbers to balance rows. |
| Class 3 | 16. The Surajkund Fair | Paths and mirrors: moving only right or up on a grid, what you pass on a route, mirror images of letters. |
| Class 4 | 3. Shapes Around Us | Shapes and angles: which shapes can be made from paper with one cut, and missing shapes in a themed sequence. |
| Class 4 | 5. Patterns Around Us | Grid patterns and parity: flipping coins in a grid, detecting which coin changed, extending a grid so a change can be found. |
Chapter summaries are in our own words. Full guides: Class 3, Class 4, Class 5.
How can children practise conditional logic at home?
- 1Traffic light gameCall out red, amber or green; your child acts out the rule.
- 2House rulesWrite three family rules as if-then sentences.
- 3Sorting machineMake a rule like "if it is round, put it in box A; otherwise, box B".
- 4What if?Change one condition and ask what happens now.
What mistakes do children often make with conditional logic?
- Forgetting the "otherwise" case.
- Mixing up the condition and the action.
- Checking only one condition when two must both be true.
How is conditional logic connected to AI?
AI systems combine many conditions, often learned from data rather than written by hand. A simple decision tree, a chain of if-then questions, is one kind of AI model.
More in How AI works, for kids.
Questions
What is conditional logic in simple words?
Making decisions with if-then rules.
What is an if-then rule?
A rule with a condition and an action, like "if it rains, take an umbrella".
What does "else" mean?
"Otherwise": the action to take when the condition is not true.
How do computers use conditional logic?
Programs check conditions to decide what to do next.
How can I practise conditional logic at home?
Turn family rules into if-then sentences and play the traffic light game.
Sources
- CBSE, Computational Thinking Student and Teacher Handbooks, Classes 3 to 5, First Edition, March 2026. Class 3, Class 4, Class 5
- CBSE, Circular Acad-15/2026, 1 April 2026. Read the CBSE circular (PDF)