Sample Gradeform


               CMSC 104 : Problem Solving and Computer Programming 
               ===================================================
 
               Project #4 (Book Ordering System)
               Due:    April 7, 2004, before 11:59 p.m.
 
Name: STUDENT, A.
Login ID: astuden1
Section # : 0101
Submit date and time:  20:33 4-4-2004
 
 
Specific points values for Project 4:
 
 
Correctness - Section 1 - (58 points)
 
        5 points - a) Calculates correct subtotal
        5 points - b) Calculates correct tax
        5 points - c) Calculates correct shipping
        4 points - d) Prints "FREE" if shipping is free
        5 points - e) Calculates correct final total
        5 points - f) Calculates correct number of books
        5 points - g) Calculates correct average price
        5 points - h) Calculates correct minium price
        5 points - i) Calculates correct maximum price
        4 points - j) Uses #defines specified (SHIP_COST, FREE_SHIP_LIMIT)
        2 points - k) Prints all monetary values to 2 decimal places
        4 points - l) Program works correctly with Unix redirection
        4 points - m) Program exits when sentinel value of -1 is read
 
Style  - Section 2 - (12 points)
 
        3 points - Use of adequate whitespace
                   a) Separates logical sections of code with
                        blank lines
                   b) Blank spaces around operators
                   c) Identation is only 2 to 3 spaces deep per level
	           d) Code kept within screen width of 80-chars
        3 points - Indentation of comments evenly with the surrounding
                        code
                   d) Comments should line up exactly above the
                        code being commented
                   e) Endline comments should only be used for
                        variables or #defines
        3 points - Use of either Student or Bell Labs indentation style
                   as per Indentation styles found on 104 web pages
                   f) Uses one acceptable style consistently
                   g) Uses braces for if/while/for clauses even if
                        only 1 statement
 -3     3 points - Use of naming conventions per CS104 Style sheet
                   i) Uses meaningful variables names
                   j) Separate "words" within identifiers with
                        underscores or mixed upper and lower case
                   k) Variable names begin with lowercase
                   m) #defines and typedefs all uppercase
 
Documentation - Section 3 - (10 points)

        1 points - a) Correct information given in file header comment
                      (filename, author, date, email address)
        1 points - b) Adeq. file/prog. descrip. given in file header comment
        4 points - c) Adequate descriptive comments within the code
        4 points - d) Each function has a function header comment
                      (1 pt each)

Execution - Section 4

        20 points - a) Program has no syntax errors

 
----------------------------------------------------------------------------
Pts. lost:   -3
Score:       97/100
 
----------------------------------------------------------------------------
 
Comments:
 
2k) For example, AveragePrice should be averagePrice.