Ontario MPT overview

Ontario MPT: Algebra, patterns and coding

Patterns, variables and expressions, solving equations and inequalities, linear relations and their graphs, and reading simple code that uses loops and conditions.

  • 16 questions
  • Topic drill
0/16
Algebra, patterns and coding · Question 1Score 0/0

On a distance–time graph, a horizontal segment means the traveller is:

Study reference: The Ontario Curriculum, Grades 1–8: Mathematics (2020) and Grade 9: Mathematics MTH1W (2021), Ch. 2 Algebra strand — Grades 3–8 strand C (incl. coding), Grade 9 strand C

All 16 questions in this test

Every question and its answer choices. The correct answers and explanations appear when you take the test above.

  1. On a distance–time graph, a horizontal segment means the traveller is:

    1. stopped
    2. speeding up
    3. moving at a steady speed
    4. walking back home
  2. In the Ontario Grades 1–8 math curriculum (2020), in which strand do coding expectations appear?

    1. Financial Literacy
    2. Data
    3. Algebra
    4. Spatial Sense
  3. A pattern repeats red, blue, blue, green. What colour is the 23rd item?

    1. Blue
    2. Red
    3. Green
    4. Yellow
  4. A growing pattern has 5, 9, 13, 17 tiles in figures 1 to 4. Which expression gives the tiles in figure n?

    1. n + 4
    2. 4n + 5
    3. 4n + 1
    4. 5n
  5. Solve 2(x + 4) = 5x − 7.

    1. x = 5
    2. x = 3.7
    3. x = −5
    4. x = 1
  6. A line passes through (0, 3) and (2, 7). What is its equation?

    1. y = 4x + 3
    2. y = 2x + 3
    3. y = 2x + 7
    4. y = 3x + 2
  7. A plant is 4 cm tall and grows 1.5 cm each week. Which equation models its height h after w weeks?

    1. h = 1.5 + 4w
    2. h = 1.5w + 4
    3. h = 5.5w
    4. h = 4w + 1.5
  8. Evaluate 5(a + 1) − a when a = 2.

    1. 15
    2. 13
    3. 8
    4. 11
  9. Solve the equation 3x + 5 = 29.

    1. x = 24
    2. x = 6
    3. x = 11.3
    4. x = 8
  10. Two numbers have a sum of 30 and a difference of 8. What are they?

    1. 20 and 10
    2. 22 and 8
    3. 19 and 11
    4. 15 and 15
  11. Which statement shows the idea that the equal sign means "has the same value as"?

    1. 8 + 4 = □ + 5, so □ = 7
    2. 8 + 4 = □, so □ = 5
    3. 8 + 4 = 12 + 5 = 17
    4. 8 + 4 = □ + 5, so □ = 12
  12. Code: x = 10. If x > 5, then x = x − 3; otherwise x = x + 3. Then print x. What is printed?

    1. 7
    2. 10
    3. 5
    4. 13
  13. A program sets total = 0, then repeats "add 4 to total" 6 times. What is total at the end?

    1. 10
    2. 4
    3. 24
    4. 46
  14. Simplify the expression 4(x − 3) + 2x.

    1. 4x − 12
    2. 6x − 3
    3. 6x − 12
    4. 6x − 7
  15. Which values of x make 2x − 3 > 7 true?

    1. x > 5
    2. x < 5
    3. x > 2
    4. x > 10
  16. In the formula A = lw, what does the letter w represent?

    1. A misprint for the word "with"
    2. The fixed number 23 for every rectangle
    3. The letter that comes after v in a code
    4. A quantity that can take different values

Algebra, patterns and coding: key rules to remember

Our summary of what the official handbook says on this topic, in our own words. Read it before or after the practice questions above, then check the original chapter. Read the official chapter ↗

Ontario Curriculum, Algebra strand (Grades 3–8 C incl. coding; Grade 9 C)

  • Patterns: repeating cores (use remainders), growing patterns with rule an + b.
  • Variables and expressions; substitution; simplifying with distribution and like terms.
  • Equality as balance (equal sign means "same value as").
  • Solving linear equations and inequalities; systems by elimination.
  • Linear relations: slope (rate of change) and initial value; y = mx + b.
  • Distance–time graphs: horizontal segment = no movement.
  • Coding is part of the Algebra strand from Grade 1 (ontario.ca); loops repeat instructions; conditionals choose a branch.

Study the Algebra, patterns and coding rules as flashcards →

Other topics

Full practice tests