๐ŸŽฏ Grade 5 ยท 3. Algebra

Simple block coding โ€“ Grade 5 Math Lesson

  1. 1. ๐Ÿ“– Lesson
  2. 2. ๐Ÿง  Practice
Free lessons used: 2 of 5 ๐Ÿ”“ Unlock everything

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

  1. 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!

  2. 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!

  3. 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!

  4. 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.

  5. 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!

Practise all 57 Simple block coding questions โ†’

More Grade 5 Lessons: 3. Algebra

All Grade 5 lessons โ†’