Computer Science
Grade 1
20 min
Solving Real-World Problems with Logic
Apply logical thinking to solve simple real-world problems.
Tutorial Preview
1
Introduction & Learning Objectives
Learning Objectives
Identify a simple rule.
Follow a two-step sequence.
Use 'If...Then' thinking for a choice.
Sort objects based on one attribute.
Explain the order of their steps.
Have you ever told a robot what to do? 🤖 Let's learn to give perfect instructions!
We will learn how to think in steps, just like a computer. This helps us solve puzzles and make smart choices. It's like being a super detective! 🕵️♀️
Real-World Applications
Getting dressed for the weather 🌦️
Following a recipe to bake cookies 🍪
Putting toys away in the right bins 🧸
Playing a board game with rules 🎲
2
Key Concepts & Vocabulary
TermDefinitionExample
Logic 🤔Logic is using rules to figure things out.If the light is green, it is safe to cross the street.
Rule 📜A rule tells you what you must do.The rule is: wash your hands before you eat.
Sequence ➡️A sequence is the order that things happen.First, put on socks. Second, put on shoes.
Condition (If...)A condition is something that must be true for the next step.IF it is your turn, you can roll the dice.
Action (...Then)An action is the thing you do because of the condition.THEN you move your game piece.
Sorting 🧺Sorting is putting things into groups.Putting all the red blocks in one pile.
3
Core Syntax & Patterns
The 'If...Then' Rule
IF a condition is true, THEN do an action.
Use this to make a choice. Check for the 'if' part first!
The 'Sequence' Rule
First, do Step 1. Second, do Step 2. Third, do Step 3.
Use this when the order of steps is very important.
The 'Sorting' Rule
Find things that are the same. Put them together.
Use this to clean up or organize your things.
4 more steps in this tutorial
Sign up free to access the complete tutorial with worked examples and practice.
Sign Up Free to ContinueSample Practice Questions
Challenging
Two friends build the same LEGO set. Sam follows the instruction book step-by-step. Alex looks at the picture on the box and guesses. Who is more likely to finish first without mistakes?
A.Sam, because following the algorithm is a reliable way to get the right result.
B.Alex, because guessing is faster than reading.
C.They will finish at the same time.
D.Alex, because the picture on the box is all you need.
Challenging
A robot's instructions for making orange juice are: 1. Put whole oranges in the blender. 2. Turn blender on to high. 3. Forget to put the lid on. 4. Pour juice. Which bug will cause the BIGGEST mess?
A.Putting whole oranges in the blender
B.Forgetting to put the lid on
C.Pouring the juice
D.Turning the blender on to high
Challenging
You have a rule: IF it is raining, take an umbrella. You have another rule: IF it is windy, hold your hat. Today it is rainy AND windy. What should you do?
A.Only take an umbrella
B.Only hold your hat
C.Take an umbrella AND hold your hat
D.Stay inside and do nothing
Want to practice and check your answers?
Sign up to access all questions with instant feedback, explanations, and progress tracking.
Start Practicing Free