Algorithms with lists and records
Practise online with Next and Previous buttons, worked explanations and a report of the questions to review.
Log in to continueTrace list-based algorithms and implement a tested program using a data structure.
One-question preview
Choose one answer
Try this sample, or continue to the online quiz for a practice set with Next and Previous buttons.
Pseudocode: set total = 0; for each value in the list [2, 5, 1, 7], add value to total; output total. What is output?
Show worked steps
Answer: 15
- The accumulator starts at zero.
- Add each list element exactly once.
- The final total is 15.
This is a question from this topic’s quiz. Preview answers are not saved.
Scratchpad
Working out
Draw with a finger, pen or mouse, or type your working below.
Your working stays on this page. It is not submitted or saved, and clears when you leave or reload.
Curriculum reference
Victorian Curriculum F–10 Version 2.0
Pi Leo practice scope
Trace list-based algorithms and implement a tested program using a data structure.
Read the official VCAA curriculum description (VC2M10A06)
These quizzes practise concepts within this topic. Multiple-choice answers alone do not demonstrate drawing, conducting an investigation or using a digital tool.
Activities to practise beyond the quiz
- Supported by the guided activity; selecting an MCQ does not demonstrate this action.
- Supported by the guided activity; selecting an MCQ does not demonstrate this action.
- VC2M10A06-C01Maintain a running total while visiting list elements.
- VC2M10A06-C02Implement an algorithm using a data structure in pseudocode or a programming language.
- VC2M10A06-C03Apply a condition to each stored value.
- VC2M10A06-C04Implement and test conditional processing of stored data.
- VC2M10A06-C05Apply and explain algorithms with lists and records using calculate and explain each step.
- VC2M10A06-C06Apply and explain algorithms with lists and records using read and connect representations.
Learn with worked examples
Help with this topic
Skills in this topic
Traceable coverage
Subskills
These practice subskills map to the curriculum topic. Guided activities cover skills beyond multiple-choice questions.
Descriptor-derived subskills
- D01Loop through a listMaintain a running total while visiting list elements.
- D02Combine selection and repetitionApply a condition to each stored value.
- D03Calculate and explain each stepApply and explain algorithms with lists and records using calculate and explain each step.
- D04Read and connect representationsApply and explain algorithms with lists and records using read and connect representations.