Coding · Grade 5
Conditions and Boolean Ideas
Fifth graders combine conditions with AND and OR, use NOT and Boolean variables, complete truth tables, and turn real rules into compound conditions, testing them with cases that make each part true and false.
- 4 lessons
- About 90 minutes
- Boolean ideas check: 8 questions
- Ways to answer: fill in the blanks, choose an answer, trace code, highlight a text, match pairs and type a number
What learners will discover
- Evaluate compound conditions that use AND and OR.
- Use NOT and Boolean variables in conditions.
- Complete truth tables for AND, OR and NOT.
- Write a compound condition for a rule and test it with cases that make each part true and false.
Lessons
-
AND and OR 4 steps2 practiceabout 16 min
-
NOT and Boolean variables 5 steps3 practiceabout 16 min
-
Truth tables 5 steps3 practiceabout 16 min
-
Rules as conditions 5 steps3 practiceabout 16 min
-
Boolean ideas check 8 questions at the end
Keep exploring
Games to practice with
- Robot RoutesSnap together arrow, repeat and dance blocks to guide Bolt the robot home.
- Bug DetectiveA robot program almost works. Run it, spot the buggy block, and fix it.
- Sorting FactoryTurn a work order into if/else rules and watch the conveyor sort every item.
More 5th grade coding
- 5th Grade Coding Games5 games to play free
- 5th Grade Coding Worksheets10 printable worksheets
Guide for grown-ups
- How to start homeschooling: a step-by-step guide for familiesA guide for parents · 7 min read