Foundation to VCE • Explore the maths library • Try a free sample
Year 10 · Algebra

Teach algorithms and data structures.

Use lists and tables to organise mathematical algorithms.

View worksheets & preview

Aspire to Power Learning · https://resources.aspiretopowerlearning.com.au/home-learning/topics/year-10-algorithms-and-data-structures/

Check the starting point

  • Trace loop updates
  • Use zero-based list indices when specified

Show the idea

A running total is a data structure operation

IndexEntryRunning total
0-2-2
153
2811

A loop adds each list entry once. The total and number of entries are separate values.

Work through an example

A running total is a data structure operation — explain the representation.

IndexEntryRunning total
0-2-2
153
2811
  1. A loop adds each list entry once. The total and number of entries are separate values.
  2. Connect the labels to the calculation or rule. Data indexing and initial values can cause errors even when the arithmetic is correct.

Answer: A loop adds each list entry once. The total and number of entries are separate values.

Teach in small steps

  1. Begin with a short oral check: ask your child to trace loop updates. Then check that they can use zero-based list indices when specified. Revisit either skill before adding a new procedure.
  2. Explore “A running total is a data structure operation” together. A loop adds each list entry once. The total and number of entries are separate values. Ask your child to point to the quantities or features used at each step.
  3. Model the example: Find the mean of list [3,7,8] using an algorithm. Pause before each step and invite a prediction. Set total=0; add each entry to get 18. Divide by list length 3.
  4. Work together on the first new practice question: Trace a running total through the list [4, −3, 7, 2], starting at zero. Have your child attempt the remaining learn questions with less help, then move to apply. Use the checkpoint on a later attempt to see which ideas are retained.

Ask and listen

  • A list contains six entries and uses indices starting at zero. Give the first and last valid indices.
  • A mean routine receives an empty list. Why is returning zero without explanation misleading?

Adapt the practice

More support

Return to “A running total is a data structure operation” and explain one label or step at a time. Data indexing and initial values can cause errors even when the arithmetic is correct. Let your child show a calculation, drawing or spoken explanation before requiring a polished written answer.

More challenge

Try this application after the core method is secure: Write the output of an algorithm that counts entries ≥ 5 in [5, 2, 8, 5, −1]. Explain why repeated values both count. Then ask which assumption or input could be changed and what would need to be recalculated.

Look for understanding

  • The learner can complete and explain this checkpoint task: Create paired outputs for inputs [−2, 1, 3] under y = x^2 + 1.
  • The learner can address the reasoning or error-checking question: A mean routine receives an empty list. Why is returning zero without explanation misleading? Accept a correct alternative method, but ask for the mathematical reason.

Choose the next step

If both checks can be explained without prompting, continue to Linear inequalities. If a method is still uncertain, repeat the visual example with fresh numbers before progressing.

Put the idea into practice

The matching topic collection includes learn-and-practise, application and checkpoint PDFs with worked answers. Download the free preview to see representative pages.

Explore this topic’s worksheets