Computer science · lesson 4 of 4
Lists, dictionaries and iteration
An ordered mutable collection addressed by position.
University8 practice questionsNotes + worked examples
Learn the ideas
Prerequisites: Basic computer literacy.
List
An ordered mutable collection addressed by position.
Dictionary
A mapping from keys to values.
Index
A position used to access an item in a sequence.
Traversal
Visiting items in a collection systematically.
Worked examples
Which term best matches this description: An ordered mutable collection addressed by position.
List is the matching concept in this lesson.
List
Which term best matches this description: A mapping from keys to values.
Dictionary is the matching concept in this lesson.
Dictionary
Check your understanding
8 questionsDecimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.