Grade 4 · lesson 3 of 4

Add a List into One Total

Distinguish the current item from the accumulated total.

Download the grade pack

Supplied materials

  • Paper and pencil; an adult may read aloud. No device, account or purchase is needed.

Learn the idea

A list holds several values in an order. An accumulator is a variable that collects a result across the list. To sum, begin with total = 0 and add each item exactly once. The current item changes from row to row; the total carries forward. These are different values.

Use list [3, 1, 4]. Algorithm: set total = 0; for each item in the list, set total = total + item; show total after the loop. Write one trace row for every item, including its position, item value and new total. The last item is 4, but the final sum is not just that item.

  1. Write positions 1, 2, 3 beside values 3, 1, 4.
  2. Start total = 0 in a separate start row.
  3. Add the current item and record the total after each visit.
  4. Compare the final total with 3 + 1 + 4.
Worked example

See the method in action

Rows: position 1, item 3, total 3; position 2, item 1, total 4; position 3, item 4, total 8. After the loop the algorithm shows 8.

Your turn

Check your reasoning

Your answer is temporary and is not saved to an account. Download your current answer before leaving or reloading. Written work on paper or in another app stays in your own file.

With list [2, 5, 1], what is shown by the same summing algorithm?

Feedback appears here after you check. This is practice, not a graded school assessment.

See the answer and explanation

8

The trace totals are 2, 7, 8. The final 8 includes each list value once.

Take it further

Append 2 to the original list, giving [3, 1, 4, 2]. Expected totals: 3, 4, 8, 10; final total 10.

Nothing here is saved to an account or sent to a teacher. The answer download includes your current choice and any checked feedback.

Check the subject sources

These LifeStarter passages, scenarios and exercises are authored for this Academy with AI assistance and review. External resources keep their publishers’ terms. A grade label suggests a starting level; it does not establish alignment with your school’s complete requirements.