Grading scheme for Homework 7

Grading Scheme for Homework 7 - C
Student Info (Name, nickname, section)
Grader:
A. Barcode Scanner 2.9
Calculates sum of values in odd positions *3, using array
Calculates sum of digits in even positions except the last,
using array
Calculates check digit correctly
Checks for correctness of UPC number
Correct input dialogue
Correct output dialogue
Output for 4 given barcodes.
Uses an array of ints for digits of barcode
Total
B. Elections 2.9
Values of table hardcoded (assignments or initialization)
or read from a file. User should not have to enter 16
values!
Displays the table with row and column labels
Uses a 2D array for the vote counts
Computes and displays votes for each canditate
Computes and displays percent of the total for each
candidate
Declares winner if there is one
Declares runoff candidates if there is no winner
Output for the 2 sets of data
Total
C. Calculator 3.0
scan_data with 2 output parameters, does what it should
do_next_op performs the required operation with 2 input
parameters and one input/output parameter
handles all the given operations.
displays running result
main call functions correctly to do task
quits properly
Total
Possible
0.4
0.4
Earned
0.3
0.4
0.3
0.3
0.4
0.4
2.9
Possible
0.4
Earned
0.4
0.4
0.4
0.4
0.3
0.3
0.3
2.9
Possible
0.6
0.6
0.5
0.4
0.6
0.3
3
0
Earned
All programs
1.2
Comment block with name on each program.
Good variable names.
Neatly formatted programs.
Files correctly named.
Function prototypes and definitions where they belong.
Comment block with development method for each
program, and comments in the body of the program
including the algorithm.
Comments above each function definition, describing
what the function does.
No global variables. (All variables should be declared
inside main or functions.)
Total
Total:
Comments:
Possible
0.3
Earned
0.9
(-1)
1.2
0