Coding · Grade 5
Blocks-to-Text Bridge
Fifth graders connect blocks and pseudocode to Python: print, variables with =, for loops with range, and if, elif and else marked by colons and indentation. They find and fix common syntax errors and trace short Python programs.
- 4 lessons
- About 90 minutes
- Blocks-to-text check: 8 questions
- Ways to answer: fill in the blanks, choose an answer, put code in order, trace code, highlight a text and match pairs
What learners will discover
- Match block and pseudocode statements to Python: print, variables with = and arithmetic.
- Read Python loops and decisions: for with range, if, elif and else, colons and indentation.
- Spot and fix common syntax errors: missing colons, quotes or brackets, wrong indentation, = instead of ==.
- Trace short Python programs and predict what they print.
Lessons
-
Same ideas, new look 5 steps3 practiceabout 16 min
-
Loops and decisions in Python 5 steps3 practiceabout 17 min
-
Syntax errors 5 steps3 practiceabout 16 min
-
Trace Python programs 5 steps2 practiceabout 16 min
-
Blocks-to-text 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