Problem Set 4 - Due Thu Nov 19 at 23:59

Reading

  1. Slides and notebooks from Lec 6/7 and from Lec 8, Lec 9, and Lec 10.
  2. Problems and solutions from Lab 4, Lab 5, and Lab 6.
  3. Think Python, Chapter 5 (just sections 5.1–5.7) on booleans and conditionals remains relevant, Think Python, Chapter 7 covers iteration, and Think Python, Chapter 10 covers lists.

About this Problem Set

This problem set will give you practice with basic for and while loops, while also reviewing material on conditionals. You will be expanding on the rock-paper-scissors game from the previous problem set, as well as working with audio for the first time.

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

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 6–9 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