COMP20005 Assignment 2 Feedback: XXUSERNAMEXX Marks will not go below zero in each section. The overall mark is the sum of the three section marks. Program Presentation Including: layout and style, readability, adherence to coding expectations, general care and appearance. • Stage 1 initial allocation, +3; • Stage 2 initial allocation, +1; • Stage 3 initial allocation, +0; • Stage 4 initial allocation, +0; Deductions made for: • #defines not in upper case, -0.5; • multi-letter variables in upper case, -0.5; • absence of function prototypes, -0.5; • bad choice for function names, -0.5; • bad choices for variable names, -0.5; • inconsistent bracket placement, -0.5; • inconsistent indentation, -0.5; • excessive commenting, -0.5; • insufficient commenting, -0.5; • lack of whitespace (visual appeal), -0.5; • lines >80 chars, -0.5; • no authorship statement, -0.5; • use of external code without attribution, -1.0; • use of magic numbers, -0.5; • use of futile #defines, -0.5; • other stylistic issue (minor), -0.5; • other stylistic issue (major), -1.0; Additions (only applied if marks lost within this section): • comment that says "programming is fun", +0.5; • overall care and presentation, +0.5; Other comments from marker: Structure and Approach Including: decomposition in to functions, development of data structures and declaration of them at the appropriate locations (Stage 4), choice of parameters to functions, choice of algorithms or methods. • Stage 1 initial allocation, +2; • Stage 2 initial allocation, +3; • Stage 3 initial allocation, +2; • Stage 4 initial allocation, +2; Deductions made for: • duplicate code segments, -0.5; • main program too long or too complex, -1.0; • other functions too long or too complex, -0.5; • global variables, -1.0; • insufficient use of functions, -0.5; • excessively complex algorithmic approach, -0.5; • unnecessary duplication/copying of data, -0.5 • avoidance of structs (eg, using multiple 2d arrays), -1.0; • avoidance of struct pointers (eg, using whole-struct arguments), -0.5; • inappropriate or over-complex structs, -0.5; • other abuses of structs, -0.5; Other comments from marker: Program execution Including: compilation, execution on test data, output presentation and readability. (Programs that do not compile in the test environment will lose all marks in this section.) • Stage 1 initial allocation, +1; • Stage 2 initial allocation, +2; • Stage 3 initial allocation, +2; • Stage 4 initial allocation, +2; Deductions made for: • errors in compilation that prevent testing, -5.0; • runtime segmentation fault on test1 with no output generated, -2.0; • runtime segmentation fault on test2 with no output generated, -2.0; • unnecessary warning messages in compilation, -1.0; • numerically incorrect Stage 1 output on test1 or test2 (or both), -1.0; • numerically incorrect Stage 2 output on test1 or test2 (or both), -1.0; • numerically incorrect Stage 3 output on test1 or test2 (or both), -1.0; • numerically incorrect Stage 4 output on test1 or test2 (or both), -1.0; • notably different output formatting, -1.0;