๐ฏ Grade 5 ยท 3. Algebra
Simple block coding โ Grade 5 Math Lesson
- 1. ๐ Lesson
- 2. ๐ง Practice
About This Grade 5 Lesson
- Topic
- Simple block coding โ 3. Algebra unit
- Grade & ages
- Grade 5 ยท ages 10โ11
- Curriculum
- Ontario Mathematics Curriculum, Grades 1โ8 (2020)
- In this lesson
- Kashef ยท โ๏ธ Block Coding Examples ยท ๐ฏ Build These Block Programs! ยท ๐ Real-Life Block Coding ยท ๐งช Quick Block Coding Quiz
- Created by
- The InukMath team
- Last updated
- October 19, 2026 ยท How we make our lessons
Simple block coding โ Grade 5 Lesson Notes
A quick written summary of this Grade 5 math lesson from the 3. Algebra unit. Read it with your child, then open the interactive lesson above and try the practice questions.
Kashef
Your super kind Grade 5 math teacher โค๏ธ
Snap Blocks Together Like Lego!
Grade 5 Ontario Math ๐ โข Algebra & Computational Thinking
I'm Kashef and today we're exploring Simple Block Coding! Block coding is like building with colorful Lego blocks. You snap together instructions to make patterns, repeat actions, and solve problems. No typing needed โ just drag and snap! Ready to build your first programs? Letโs go! ๐
Instead of typing code, you connect colorful blocks that each do one job.
when green flag clicked
move 10 steps
repeat 5 times
โ๏ธ Block Coding Examples
Example 1: Make a Growing Pattern
set number to 2
repeat 6 times
print number
add 3 to number
2, 5, 8, 11, 14, 17
Example 2: Draw Stars
repeat 8 times
print โญ
๐ฏ Build These Block Programs!
1. Make a program that counts by 5s: 5, 10, 15, 20
set number = 5repeat 4 times: print number add 5
2. Build a program that says โHelloโ 5 times
repeat 5 times: print โHelloโ
๐ Real-Life Block Coding
Problem 1: Create blocks to show how many days until your birthday if today is day 1 and your birthday is in 10 days.
set day = 1repeat 10 times: print day add 1 to day
๐งช Quick Block Coding Quiz
Question: Which block makes something happen many times?
You are a Block Coding Builder! ๐๐ฅณ
Kashef is super proud of you! You can now snap blocks together to create patterns and programs.
Block coding is the friendly way to start real programming โ you're already on your way to becoming a coder and mathematician!
Simple block coding โ Sample Practice Questions
In block coding, what does the 'move 10 steps' block do?
- A) Moves the sprite forward
- B) Turns the sprite
- C) Repeats a command
- D) Checks a condition
Show answer
Answer: A) Moves the sprite forward โ Wonderful! The move block makes your character go forward. You're doing so well!
Which block makes the sprite turn 90 degrees?
- A) turn right 90 degrees
- B) move 10 steps
- C) say Hello
- D) repeat 4
Show answer
Answer: A) turn right 90 degrees โ Excellent! The turn block changes direction. Great job!
To draw a square, which block do you need to repeat 4 times?
- A) move 100 steps and turn 90 degrees
- B) say Hello
- C) glide to mouse
- D) change color
Show answer
Answer: A) move 100 steps and turn 90 degrees โ Wonderful! Repeat move and turn to make a square. Super!
What does the 'repeat 5' block do?
- A) Repeats the blocks inside 5 times
- B) Moves 5 steps
- C) Turns 5 degrees
- D) Says 5
Show answer
Answer: A) Repeats the blocks inside 5 times โ Champion! Repeat makes things happen many times.
If you want the cat to say 'Hello' when clicked, which block?
- A) when this sprite clicked then say Hello
- B) move 10 steps
- C) turn 90
- D) repeat 10
Show answer
Answer: A) when this sprite clicked then say Hello โ Real-life click action. Excellent!
More Grade 5 Lessons: 3. Algebra
All Grade 5 lessons โ-
G5 ยท #107
Repeating patterns
๐ง 70 questions ยท ๐ worksheet ยท ๐ฎ game
Open lesson -
G5 ยท #108
Growing patterns
๐ง 70 questions
Open lesson -
G5 ยท #109
Shrinking patterns
๐ง 70 questions
Open lesson -
G5 ยท #110
Numeric patterns
๐ง 70 questions
Open lesson -
G5 ยท #111
Pattern rules
๐ง 67 questions ยท ๐ worksheet
Open lesson -
G5 ยท #112
Predict missing terms
๐ง 70 questions
Open lesson
