Big idea. A list is found by position and a dictionary by key, and choosing the right one makes a program shorter and safer.
Outcomes served. O4 (store and process collections of data).
Plan your six hours
| Part | Minutes |
|---|---|
| Opener and orientation (this page) | 15 |
| M4.L1 Lists | 55 |
| M4.L2 Loops over lists | 50 |
| M4.L3 Dictionaries | 50 |
| M4.L4 Choosing and combining | 50 |
| Practice set | 35 |
| Lab: Trace, repair and count | 50 |
| Mastery checkpoint | 30 |
| Discussion prompt and recap | 25 |
| Total | 360 (6 hours) |
Assumed. Modules 1 to 3: variables, if statements and loops.
Where this topic appears in practice. A price list, a class register, a stock count and a set of survey answers are all collections. This module shows how a program holds and uses them.
Privacy. Your answers stay with you. This course does not store, collect or send anything you write or tick.