Free Grade 4 Ontario math coding worksheets

Free printable Grade 4 Ontario math worksheets on coding. Read the code. Circle the correct answer. Question types include events, debug, repeat, turns and facing, and 1 more. Ontario curriculum: Mathematics (2020) · Algebra C3.1 — read code with a repeat nested inside another repeat. Preview the sample questions, then make a worksheet to print or practise. Choices on this page stay unmarked. Canadian English. Unofficial practice — not a ministry document.

Ontario curriculum: Mathematics (2020) · Algebra C3.1 — read code with a repeat nested inside another repeat

Question types

Sample questions

6 questions from coding. Choices stay unmarked.

  1. 1.

    What starts this code?

    when the button is pressedflash a light 2times
    • Athe light flashes
    • Ba timer finishes
    • Cthe code stops
    • Dthe button is pressed
  2. 2.

    A robot should turn right between the two moves. What is wrong with this code?

    move forward 4 stepsturn leftmove forward 2 steps
    • Athe steps are in the wrong order
    • Bit turns right instead of turning left
    • Ca move is missing
    • Dit turns left instead of turning right
  3. 3.

    How many steps forward does this code take in all?

    repeat 7 timesmove forward 2 steps
    • A14
    • B9
    • C7
    • D2
  4. 4.

    Which way does the robot face at the end?

    start facing eastturn rightturn right
    • Anorth
    • Bsouth
    • Cwest
    • Deast
  5. 5.

    How many claps does this code make?

    repeat 3 timesrepeat 4 timesclap
    • A7
    • B3
    • C4
    • D12
  6. 6.

    What happens when the button is pressed?

    when the button is pressedflash a light 2times
    • Aturn right
    • Bplay a sound
    • Cflash a light 2 times
    • Dflash a light 3 times

Common questions

What is on a Grade 4 math coding worksheet?
A Grade 4 math coding worksheet is a set of practice questions on coding. Read the code. Circle the correct answer. This grade covers events, debug, repeat, turns and facing, and nested repeat.
Which expectation matches Grade 4 math coding?
Ontario curriculum: Mathematics (2020) · Algebra C3.1 — read code with a repeat nested inside another repeat Unofficial practice — not a ministry document.
How do I make a Grade 4 math coding worksheet?
Make this worksheet opens a Grade 4 math coding set in QuizPrint. Preview it, print a Letter page, or practise on screen. The sample on this page leaves every choice unmarked.

More Grade 4 math topics

Coding in other grades

More worksheets