# Lists, dictionaries and iteration

> An ordered mutable collection addressed by position.

Course: [Python programming foundations](https://studybrix.com/en/courses/python-programming/index.md)
Level: university
Prerequisites: Basic computer literacy.

## 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.

## Practice questions

### 1. Which term best matches this description: An ordered mutable collection addressed by position.

A. Index
B. Dictionary
C. List
D. Traversal

Answer: List

Explanation: List is the matching concept in this lesson.

### 2. Which term best matches this description: A mapping from keys to values.

A. Dictionary
B. Index
C. List
D. Traversal

Answer: Dictionary

Explanation: Dictionary is the matching concept in this lesson.

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

A. Dictionary
B. Traversal
C. Index
D. List

Answer: Index

Explanation: The scenario directly calls for Index.

### 4. Name the concept described as: Visiting items in a collection systematically.

Answer: Traversal

Explanation: The intended concept is Traversal.

### 5. Which statement about List is most accurate?

A. An ordered mutable collection addressed by position.
B. Visiting items in a collection systematically.
C. A mapping from keys to values.
D. A position used to access an item in a sequence.

Answer: An ordered mutable collection addressed by position.

Explanation: The definition in the lesson notes gives the required condition.

### 6. Explain one important difference between List and Dictionary.

Sample answer / marking guidance: List: An ordered mutable collection addressed by position. Dictionary: A mapping from keys to values.

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

### 7. Give a short example showing how Index would be used in practice.

Sample answer / marking guidance: A valid example should demonstrate this idea: A position used to access an item in a sequence.

Explanation: Credit a relevant scenario that applies the concept rather than merely naming it.

### 8. Summarize why Traversal matters in the lesson “Lists, dictionaries and iteration”.

Sample answer / marking guidance: Traversal matters because Visiting items in a collection systematically.

Explanation: Credit the core purpose, scope and any important limitation from the notes.

## Further reading

- https://docs.python.org/3/tutorial/

Original AI-assisted educational draft; not independently teacher-reviewed. References support further study, not copied exercises, affiliation or curriculum accreditation.
