Problem Set 5 - Due Tue Mar 1 at 23:00
Reading
- Slides and notebooks from Lec 6/Lec 7 and from Lec 8, Lec 9, and Lec 10.
- Problems and solutions from Lab 4 and Lab 5.
- Think Python, Chapter 5 (skip sections 5.8–5.10) on booleans and conditionals remains relevant, Think Python, Chapter 7 covers iteration, and Think Python, Chapter 10 covers lists.
Tasks
The instructions for each task:
-
Task 1: Genetic Sequences — Use loops to write some functions that process strings representing RNA sequences. This is an individual task.
- Task 2: Word Guesser — Use while loops to implement a word guessing game. For this problem, having a partner is optional but recommended.
About this Problem Set
This problem set will give you practice with basic while
and for
loops, while also reviewing material on conditionals. You will be writing
functions to process strings representing genetic sequences and creating
a word-guessing game using while
loops.
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-3.5 hours, and our estimate for total time spent across all tasks is 6–9 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 1 at 23:00).
- For genetics, submit
genetics.py
. - For wordGuesser, each team member must submit
wordGuesser.py
.
- For genetics, 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.