Free Grade 8 Ontario math coding worksheets

Free printable Grade 8 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 finds a result from a short list of data. 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 finds a result from a short list of data

Question types

Sample questions

6 questions from coding. Choices stay unmarked.

  1. 1.

    What does this code say?

    The score is 15score greater than8?yesnosay "win"say "try again"
    • Atry again
    • Bstop
    • Cwin
    • Dstart over
  2. 2.

    What number does this code say?

    set counter to 6add 1 to countersay counter
    • A5
    • B1
    • C6
    • D7
  3. 3.

    How many times does the code add to the counter?

    set counter to 0repeat until counter is 8add 4 to counter
    • A8
    • B3
    • C4
    • D2
  4. 4.

    How many times does the path turn right?

    to squarerepeat 4 timesmove 10turn rightsquare is used 4 times
    • A16
    • B2
    • C4
    • D8
  5. 5.

    What number does this code report?

    scores: 2, 8, 2report the mean
    • A8
    • B4
    • C12
    • D5
  6. 6.

    What does this code say?

    The score is 15score greater than11?yesnosay "win"say "try again"
    • Astart over
    • Btry again
    • Cwin
    • Dstop

Common questions

What is on a Grade 8 math coding worksheet?
A Grade 8 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 8 math coding?
Ontario curriculum: Mathematics (2020) · Algebra C3.1 — read code that finds a result from a short list of data Unofficial practice — not a ministry document.
How do I make a Grade 8 math coding worksheet?
Make this worksheet opens a Grade 8 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 8 math topics

Coding in other grades

More worksheets