Program1GradCrit - COP 3223 Spring 2011 Grading Criteria...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
COP 3223 Spring 2011 Grading Criteria Program 1 Total: 100 points Problem A(35 pts) Execution Points (20 pts) 1) Prompts user for appropriate input values (2 pts) 2) Properly reads in the input values (4 pts) 3) Properly formats the output (2 pts) 4) Properly executes on each of three test cases (4 pts for each case) a) 17.89, 5 items, 0 (no tax) – answer $89.45 b) 17.89, 12 items, 1 (tax) – answer $228.63 c) 99.96, 99 items, 1 (tax) – answer $10539.28 Note: if a program doesn't compile, but all the logic is correct, you may award upto 6 of the 12 execution points. This will be left up to your mercy and discretion. Also, if none of the test cases work because of a simple logical error, feel free to deduct 1 to 4 points for that logical error (based on your assessment of its severity) instead of the full 12 points for all the test cases. Points for Code (11 pts) 1) #define for taxrate(1 pt) 2) printfs are followed by scanfs (3 pts) 3) doesn’t use an if statement (2 pt) 4) multiplies number of items by item cost (2 pt) 5) multiplies the tax answer (0 or 1) by an appropriate value (3 pts)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

Program1GradCrit - COP 3223 Spring 2011 Grading Criteria...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online