Problem Set 4 - Due Tue Oct 5 at 23:59

Reading

  1. Slides and notebooks from Lec 3/4/5, Lec 6, and Lec 7
  2. Problems and solutions from Lab 3 and Lab 4
  3. Think Python, Chapter 3 covers functions, and Think Python, Chapter 6 covers fruitful functions, although sections 6.4 through 6.6 are material that we'll cover later.
  4. Think Python, Chapter 3 and Think Python, Chapter 6 cover material on functions which remains relevant; section 6.4 is especially relevant now, although sections 6.5 and 6.6 are still stuff that we're going to introduce later.
  5. Think Python, Chapter 5 covers booleans and conditionals, although sections 5.8 through 5.10 cover recursion which we will save for later, so you can skip those for now.

Tasks

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


About this Problem Set

This problem set will give you practice with the use of booleans and conditionals. You will also continue to define your own functions.

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

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). Note that this semester, due to the large number of new tasks, these numbers are often just estimates.

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 5–8 hours of programming, plus another half hour to hour of reading, although some students take more or less time than that.


How to turn in this Problem Set