Grade 5 Math · Coding

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

30 tutor-authored questions for this Ontario curriculum expectation, ordered easiest to hardest, every one with a full worked solution. Work through all 30 with your weekly-lesson access code.

Start the 30 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

Code meant to count multiples of 3 from 1 to 20 mistakenly checks "divisible by 4" instead. Identify and correct the error, and explain the impact on the final count.

Solution shown after you try it in practice mode.

Work through all 30, 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