Student: | Mark: | /20 | |
Performance - 12 | |||
---|---|---|---|
Normal operation | File handling | ||
Welcome message | [0.5] | Loads from CSV | [2.0] |
Menu (case insensitive) | [1.0] | Saves to CSV | [1.0] |
Print sorted (after loading) | [1.5] | ||
Add | [1.0] | Abnormal operation | |
Remove | [1.0] | Boat names case insensitive | [0.5] |
Payment | [1.0] | Remove/payment missing boat | [0.5] |
Monthly | [1.0] | Payment too high | [0.5] |
Exit message | [0.5] | ||
Techniques - 4 | |||
#defines | [0.5] | Check number of command line args | [0.5] |
typedefs | [0.5] | Test file open/close errors | [0.5] |
Data structure | [0.5] | Test malloc errors | [0.5] |
qsort | [0.5] | Free all memory on exit | [0.5] |
Programming style - 4 (negative marking down to 0) | |||
Functions and parameters | [-1.0] | Formatting | [-1.0] |
Identifier names | [-1.0] | Commenting | [-1.0] |
Global variables (are bad) | [-1.0] | Anything else ugly | [-1.0] |