CS111A Project 07: Files & Exceptions, Sets, Sorting, List Comprehensions, and reduce/Map/Filter -- Due Thu Nov 05 at 23:00
It is strongly recommended that you complete the first two tasks by Tue Nov 03 at 23:00
Reading
- Slides and notebooks from the List Comprehension and Sorting lecture
- Slides and notebooks from the Files & Exceptions lecture
- Materials from the Sets and reduce/Map/Filter lecture
C_ex_lec_list_comprehensions_and_sortingfrom Exercises 06- All exercises from Exercises 07
About this Project
This project will give you practice with many topics: files & exceptions, sets, sorting,
list comprehensions, and reduce/map/filter with lambda.
Tasks
For this project you must do all three of the following tasks.
-
Task 1: Transcript Manager — Write functions which operate on chat transcripts and use file I/O to store their results in output files. For this task, having a partner is optional but recommended. This is an individual task that you must do on your own.
-
Task 2: Shape Sorter — Write functions using list comprehensions to create & filter lists of polygon specifications, and using sorting to change their order. This is an individual task that you must do on your own.
- Task 3: Word Lists — Note: this tasks is still under construction! Write functions that use file operations, exceptions, sets, and reduce/map/filter to create word list files from text files. For this task, having a partner is optional but recommended.
How to Submit this Project
Note: You should submit your task files as soon as you finish them, but you may also revise and resubmit them after you have reviewed the grading feedback from Project 06.
Drag and drop all of the following three files into the CS111A Gradescope Project07 assignment.
transcriptManager.py(from Task 1)shapeSorter.py(from Task 2)wordList.py(from Task 3)
You may resubmit as many times as you like, but in each resubmission you must include all three files.