Designing number algorithms
Design and use algorithms with a sequence of steps, decisions with several alternatives (if / else-if / else) and repetition that apply rules to generate sets of numbers, implementing them in a flowchart, spreadsheet or visual program, and explain the patterns produced
Share
Activity
We design algorithms with if/else branches and repetition to generate number sets.
Materials
- Rule-design strip (if/else)
- Mini table or paper “spreadsheet”
- Output sticky
- Pencil
Steps
- Adult designs “if even → ÷2 else ×3+1” for three starts.
- Child designs one branching rule, runs five inputs, and records outputs in a table.
- Child names one decision and one repeat in their design.
- Fresh check: apply “if >10 subtract 5 else add 2” to 8. Record and stop.
Done
Ask why else matters. Success: covers the other cases so every input has a path.
Example. “8≤10 → add 2 → 10.”
1 before 0 after
List nearby topics
This concept
Next
No next concept
Ways to teach
Pick a way to teach this topic. Come back here afterward to record progress.
PhET Interactive Simulations
PhET — Function Builder
About this link
PhET — Function Builder supports Designing number algorithms. An adult picks one article or section; this is a learning page, not a scored quiz.
PhET Interactive Simulations. “PhET — Function Builder.” External page; Gakuva does not copy, host, embed, or redistribute materials.
Unknown — link only
Check understanding and curriculum record
Family records and proof options
Keep a record of your learning
Save photos, notes, and attendance. Export a proof packet for compliance or portfolio reviews.
Check understanding
“Could your child design a set of instructions — like a flowchart or a simple spreadsheet — that sorts every number from 1 to 30 into groups such as 'multiple of 3', 'multiple of 5' or 'both', and explain the pattern?”
Full curriculum checks
- Design a flowchart that classifies each number from 1 to 30 as 'multiple of 3', 'multiple of 5', 'both' or 'neither' and repeats for every number
- Implement 'start at 1; repeat 10 times: multiply by 2 and add 1' in a spreadsheet or block program and list the numbers made
- Explain why every number generated by the 'multiply by 2 and add 1' algorithm is odd
Curriculum record
- Type
- Procedural
- Subject
- Mathematics
- Domain
- Algebra
- Age range
- Ages 10–12
Standards