Problem Set 6 - Due Tue Mar 8 at 23:00
Reading
- Slides and notebooks from Lec 8 (While Loops), Lec 9 (Sequences and Loops), Lec 10 (List Processing Patterns), and Lec 11 (Lists, Memory Diagrams & Mutable vs. Immutable Sequences).
- Problems and solutions from Lab 5 (Loops) and Lab 6 (More Loops and Memory Diagrams).
- Think Python, Chapter 7 covers iteration, and Think Python, Chapter 10 covers lists.
Tasks
The instructions for each task:
-
Task 1: List Diagrams — Create list structures whose memory diagrams match those depicted in given diagrams. This is an individual task.
-
Task 2: Audio Toolkit — Create a series of audio filter effects that you can apply to any .wav file. For this problem, having a partner is optional but recommended.
-
Task 3: Concentric Circles — Write turtle graphics code to draw concentric circles. You may complete EITHER this task or the musical scales task, but you don't have to complete both. For this problem, having a partner is optional but recommended.
- Task 4: Musical Scales —
Write code using the
wavesynth
music library create musical scales. You may complete EITHER this task or the concentric circles task, but you don't have to complete both. For this problem, having a partner is optional but recommended.
About this Problem Set
This problem set will give you practice with list memory diagrams and nested loops as well as more practice with sequences (strings and lists), operations on sequences, and regular loops on sequences.
If you want to find a partner to work with for this problem set, use this Google Sheet to do so.
Reminders
- Remember to download the starter code for each task from the Potluck server.
- You can also use the server to take a 24-hour extension on this problem set if you need to.
- You should check the rubric for each task before you submit.
Time Estimate
Our per-task estimate for this pset is 2.5-4 hours, and our estimate for total time spent across all tasks is 7–10 hours, plus up to an hour of reading.
How to turn in this Problem Set
-
Upload your tasks via the Potluck server by the deadline (Tue Mar 8 at 23:00).
- For listDiagrams, submit
listDiagrams.py
. - For audioToolkit, each team member must submit
audioToolkit.py
. - For circles, each team member must submit
circles.py
. - For scales, each team member must submit
scales.py
.
- For listDiagrams, submit
-
Double-check the status of your submitted tasks, since there may be warnings.
-
Reminder: you can submit as many times as you like, and only the most recent submission will count for your grade.
-
If you run into trouble with the submissions server, contact Prof. Mawhorter, and include a copy of the file(s) you were trying to submit.
- After the deadline, check your score for each task and submit revisions if you need to.