StudyBrixFree worksheets, study guides and courses

Computer science · University

Lists, dictionaries and iteration

An ordered mutable collection addressed by position.

Make a worksheet

Prerequisites

Basic computer literacy.

Study notes

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

  1. Which concept would you apply first in a situation where a position used to access an item in a sequence.

    1. Dictionary
    2. Traversal
    3. Index
    4. List
  2. Name the concept described as: Visiting items in a collection systematically.

  3. Which statement about List is most accurate?

    1. An ordered mutable collection addressed by position.
    2. Visiting items in a collection systematically.
    3. A mapping from keys to values.
    4. A position used to access an item in a sequence.
  4. Explain one important difference between List and Dictionary.

Answers and marking guidance

Answers and marking notes
  1. Index

    The scenario directly calls for Index.

  2. Traversal

    The intended concept is Traversal.

  3. An ordered mutable collection addressed by position.

    The definition in the lesson notes gives the required condition.

  4. List: An ordered mutable collection addressed by position. Dictionary: A mapping from keys to values.

    Credit a clear distinction using both definitions and an appropriate example if supplied.

Further reading and review references

These are reference links, not copied exercises, institutional endorsement or proof of independent review.

AI-assisted preview; independent educational review required. Level labels describe prerequisites, not accreditation or official curriculum alignment.