Free Grade 7 Ontario math coding worksheets

Free printable Grade 7 Ontario math worksheets on coding. Read the code. Circle the correct answer. Question types include condition, variables, repeat until, and sub-program or data. Ontario curriculum: Mathematics (2020) · Algebra C3.1 — read code that calls a defined sub-program. 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 that calls a defined sub-program

Question types

Sample questions

6 questions from coding. Choices stay unmarked.

  1. 1.

    What does this code say?

    The score is 4score greater than6?yesnosay "win"say "try again"
    • Atry again
    • Bstart over
    • Cstop
    • Dwin
  2. 2.

    What number does this code say?

    set counter to 6add 6 to countersay counter
    • A2
    • B6
    • C12
    • D0
  3. 3.

    How many times does the code add to the counter?

    set counter to 3repeat until counter is 15add 3 to counter
    • A5
    • B4
    • C3
    • D15
  4. 4.

    How many times does the path turn right?

    to squarerepeat 4 timesmove 10turn rightsquare is used 5 times
    • A9
    • B5
    • C20
    • D4
  5. 5.

    What does this code say?

    The score is 7score greater than11?yesnosay "win"say "try again"
    • Atry again
    • Bstop
    • Cstart over
    • Dwin
  6. 6.

    What is the counter when the loop ends?

    set counter to 1repeat until counter is 16add 3 to counter
    • A1
    • B16
    • C19
    • D3

Common questions

What is on a Grade 7 math coding worksheet?
A Grade 7 math coding worksheet is a set of practice questions on coding. Read the code. Circle the correct answer. This grade covers condition, variables, repeat until, and sub-program or data.
Which expectation matches Grade 7 math coding?
Ontario curriculum: Mathematics (2020) · Algebra C3.1 — read code that calls a defined sub-program Unofficial practice — not a ministry document.
How do I make a Grade 7 math coding worksheet?
Make this worksheet opens a Grade 7 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 7 math topics

Coding in other grades

More worksheets