Problem Set 5 - Due Tue Dec 1 at 23:59

Reading

  1. Review slides and notebooks from from Lec 8 on sequences and loops, Lec 9 on iteration, and Lec 10 on list patterns.
  2. New slides and notebooks from from Lec 11 on lists and memory diagrams, Lec 12 on advanced iteration including nested loops, and Lec 13 on dictionaries.
  3. Problems and solutions from Lab 5 on loops, Lab 6 on lists, Lab 7 on nested loops, and Lab 8 on dictionaries.
  4. Think Python, Chapter 7 covers iteration, and Think Python, Chapter 10 covers lists, both of which are still relevant. Think Python, Chapter 11 covers dictionaries, which we will be using a little bit.

About this Problem Set

This problem set will give you practice with more advanced loops, including nested loops, and will also introduce you to the basics of dictionaries. You will work with either turtle graphics or audio, and also with strings.

If you want to find a partner to work with for this problem set, use this Piazza post to do so (we will mark old requests as closed when each new problem set is posted).

Note that you may not work with different partners on different tasks in this problem set. If you are working with a partner on one task, you must either work individually or work with that same partner on any other tasks where a partner is allowed.

Notes

Time Estimate

To help you plan how long you need to spend on this problem set, we have some guidelines based on how long students spent on these tasks last semester (please fill out your time estimates to help students in future semesters).

When you've been working on a task for about 2 hours, you should evaluate whether you are making efficient progress, and make use of some of the class resources available to you, like help-room hours or office hours. If you've been working on one task for 3 hours and still have a ways to go, you should definitely get some help with it.

The entire problem set will probably take you something like 7–10 hours of programming, plus another half hour to hour of reading, although some students take more or less time than that.


Tasks

The instructions for each task and their specific requirements are laid out on the following pages:


How to turn in this Problem Set