A lot of help !!
CS1160 Spring 2014
Project 1 - Grading Rubric (No Credit for Projects that do not Compile and Run in Netbeans)
Algorithm Points Possible
Correctly-ordered steps; includes sections for known values, input, calculations, and output. Sections are complete (input lists all items to be input; calculations section shows each calculation in detail; output describes every item to be displayed).
7
Code
Code follows algorithm exactly; no instructions appear in the code that are not in the algorithm, no steps appear in the algorithm that are not in the code.
4
Constants are declared for all known values. 2
Variables are declared for each input value and for each calculated value. Appropriate types are used.
3
User is prompted for each input value; the user-entered values are correctly stored in variables.
4
The total bill is correctly calculated. 4
The correct discount dollar amount is calculated and displayed based on the subtotal.
5
The correct discount % is displayed based on the subtotal. 2
Output is neatly displayed and includes subtotal, tax, total bill, discount dollar amount, and discount percent along with all wording. All dollar amounts are displayed with a $ and 2 decimal places.
4
Style
Java-doc comment at top of file with project number, course, and date 1
Java-doc comment above the public class includes your name and describes the purpose of the program
1
Each section of code (input, calculations, output) is commented directly from algorithm; there is a blank line before each comment; code within a commented section are single-spaced; code follow after associated comments. Additional comments are used to describe calculations that are not obvious from the code itself.
5
Sections are not interspersed; all input is done before any calculations; all calculations are done before any output; no calculations are done within output statements.
2
Proper indenting 2
Variables are meaningfully named and follow camelCase style 2
Constants are meaningfully named and are ALL_UPPER_CASE 2
Total Points Possible 50