Grading rubric
Recall the General Instructions for Grading Programs.
Eclipse project for this assignment: Iteration
Points to be awarded for:
-
Rates
- 1 point - Output contains a reasonable header
- 2 points - Rates range from 0.1% to 8.0%, inclusive
- 3 points - Years to Double output is correct
-
Whack-a-bug
- 2 points - hasABug1
- 2 points - hasABug2
- 2 points - hasABug3
- 2 points - hasABug4
-
Pyramid Scheme
- 5 points - Triangle contains a constructor with the 4 required parameters, and draws a triangle in the drawOn method based on the parameters from the constructor
- 12 points - TriangleDrawer uses a nested loop to create and draw the triangles (using the previously defined Triangle class)
-
Retirement Plan
-
AnnualInvestment
- 3 points - Contains methods with correct names and input parameters
- 3 points - Correctly calculates new amount based on the previous amount, rate, and amount to invest
-
AnnualInvestmentTest
- 4 points - Contains at least two unit tests to sufficiently test AnnualInvestment (-2 for only one unit test)
-
RetirementPlan
- 2 points - Uses reasonable prompts for input and output
- 2 points - Uses a single AnnualInvestment object, constructed with the rate provided by the user, throughout the loop
- 2 points - Reasonable sentinel value used to terminate the loop
Total: 47 points
|