Ages 10–12 · Foundation
Convert before arithmetic
Use the evidence in convert before arithmetic to select and justify a valid solution.
Understand the idea
Program traces follow assignments and expression rules in order.
Your challenge
Input boxes return text. With the overloaded + rule, “8”+“2” produces “82”. The app needs the numeric total. Which change is appropriate?
- Change only the output font
- Convert both validated inputs to numbers before addition
- Join them twice
How to explore
- Inspect the types before choosing the operation.
- Compare each proposed response with the complete observation or trace, rather than with only one familiar word.
- Check the selected response against the complete situation, including a case where a tempting alternative fails.
Open the activity to work with its controls and check your reasoning. Progress stays in this browser.
Keep exploring
DON’T LET THE QUESTION END HEREGive that curiosity
Open the learning space