Grade 9 Math (MTH1W) · Coding

Read, alter, and debug existing code (including code involving loops and conditionals) to represent mathematical situations

10 tutor-authored questions for this Ontario curriculum expectation, ordered easiest to hardest — every one with a full worked solution. Work through them free, no account needed.

Start the 10 questions Curriculum: MTH1W-C2.2

Sample: the first question, solved

Given code "y=4x+2," what single change would make it represent y=4x−2?

📘 Worked solution
Only the constant term needs to flip sign, since the slope stays the same.

And one from the hard end

Read "repeat for x=1 to 3: (y=2x)." What y-values are generated?

Solution shown after you try it in practice mode.

Work through all 10, easiest to hardest

Your Winny Score tracks you as the questions ramp up. Stuck on one? A real Winny Math tutor will walk you through it — first lesson free.

Start practicing