Problem Set 8 - Due Tue Apr 12 at 23:00

Reading

  1. Slides and notebooks from Lec 13 (List Comprehensions & Sorting) Lec 14 (Testing and Debugging), Lec 15 (File Input/Output) Lec 17 (Intro to Dictionaries) and Lec 18 (Dictionary Accumulation Patterns).
  2. Problems and solutions from Lab 8 (Tracing & Files) and Lab 9 (Dictionaries).
  3. Think Python, Chapter 11 covers dictionaries.
  4. The Path to Programming, Unit 5 is a 10-minute podcast covering dictionaries.

Tasks

The instructions for each task:


About this Problem Set

This problem set will give you practice with dictionaries. It will also review some material on sorting, testing with optimism, and file input/output that you've seen in previous labs and lectures.

If you want to find a partner to work with for this problem set, use this Google Sheet to do so.

Reminders

Time Estimate

Our per-task estimate for this pset is 2-4 hours, and our estimate for total time spent across all tasks is 5–8 hours, plus up to an hour of reading.


How to turn in this Problem Set