CS111A Project 02: Functions and Booleans -- Due Thu Sep 17 at 23:00

Deadline Note

The posted deadline for Project 02 is Thu Sep 17 at 23:00, and you should strive to complete all three tasks by this time. However, there is a policy that you should have at least 24 hours to review grading feedback from the previous project before submitting the next project. So the actual deadline is the later of (1) Thu Sep 17 at 23:00 and (2) 24 hours after Project 01 feedback has been published.

Reading

  1. Functions lecture slides and notebook (including the solutions notebook)
  2. Lab 2
  3. Booleans lecture slides and notebook (including the solutions notebook)
  4. Optional reading from the Think Python book:

Note that many of the same materials from last week are relevant this week again.

About this Project

This project will give you practice with defining custom functions. You will also have the opportunity to work with booleans in the context of defining a predicate.

As CS111A students, most of you are already familiar with more advanced concepts like conditionals (i.e., if statements and expressions) and loops. However, in this project, you must not use any conditionals or loops. The tasks are designed to be solved with just functions and booleans, without any conditionals or loops

Tasks

For this project you must do all three of the following tasks.

How to Submit this Project

Note: Do not submit your task files until after you have reviewed the grading feedback from Project 01.

Drag and drop all of the following three files into the CS111A Gradescope Project02 assignment.

You may resubmit as many times as you like, but in each resubmission you must include all three files.