CSV stands for Comma Separated Values. Most basic spreadsheets can be saved in this format. You can define a single row for column headers and then a row for each set of values.
This assignment includes an example python module that you should go through and execute. At the end of the module is the detailed assignment.
- Create your own "database" of csv data in a separate file -- your program should read that data into a useful data structure.
- Create a scheme to overcome key collision (explained in the example module).
- Create another csv of data that is related to your first file. Use
the relation to read both files into a structure to enable useful
retrieval. For example, say you want to get all the songs on an
album given one song on the album:
useful_dict["Wheels"]["album"]["songs"]
| Criteria | Superior (5) | Excellent (4) | OK (3) | Not OK (2) | Unsatisfactory (1) | Grade/Comments |
|---|---|---|---|---|---|---|
| Readability (50%) | The code is organized (modular) well documented, easy to read and follow. | The code is easy to read and well documented. | The code can be followed. | The code is not easily followed. | The code is a mess. | |
| Specifications (40%) | The program works and meets all the requirements. | The program works and meets most of the requirements. | The program produces correct results but does not display/plot them correctly. | The program does not meet most of the requirements or fails to display or plot any. | Program does not work at all. | |
| Efficiency (10%) | The code is highly efficient without affecting readability. | The code is reasonably efficient without affecting readability. | The code runs within a few seconds. | The code runs within a few minutes. | The code takes over an hour to run (or doesn't run at all). |