Grade 5 Math · Coding

Read and alter existing code with conditional statements and control structures, and describe the effect of changes

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: G5-C3.2

Sample: the first question, solved

"If score>40, print 'pass', else print 'fail'." What changes if the threshold moves from 40 to 65, and score=50?

📘 Worked solution
50 clears the original threshold but falls short of the new one.

And one from the hard end

A conditional "if x>10" is changed to "if x≥10." How does this affect the case where x=10 exactly?

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