Project 7 - Due Fri Mar 15 at 23:00
Reading
- Slides and notebooks from Lec 13 (Nested Loops) and Lec 14 (List Comprehensions; Sorting.
- Problems and solutions from Lab 8 (Nested Loops).
- Think Python, Chapter 7 covers iteration, and Think Python, Chapter 10 covers lists.
Tasks
The instructions for each task:
-
Task 1: Train Inventory — Use nested loops to write functions for dealing with inventory on a train. For this task, having a partner is optional but recommended.
- Task 2: AI Assistant — Experience some of the pitfalls of using an AI to 'help' write code. For this task, having a partner is optional but recommended.
About this Project
These tasks will give you practice with nested loops and sorting. We have also included a task in which you will get to try using an AI for help, and will see why we have chosen not to allow that for any other task in this class.
Both tasks are required this week.
If you want to find a partner to work with for this project, 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 project if you need to.
Time Estimate
Our per-task estimate for this project is 1.5-4 hours, plus up to an hour of reading.
How to turn in this Project
In addition to the normal Potluck submission, you need to submit your
individual answers to the aiAssist
survey via the aiAssist
survey form. If you are working
with a partner, each partner needs to submit the form separately.
-
Upload your tasks via the Potluck server by the deadline (Fri Mar 15 at 23:00).
- For trainInventory, each team member must submit
trainInventory.py
. - For aiAssist, each team member must submit
aiAssist.py
.
- For trainInventory, each team member must 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 Peter Mawhorter, and include a copy of the file(s) you were trying to submit.
- Check your score for each task and submit revisions if you need to.