Barnett, Donnie Ray
Total Page:16
File Type:pdf, Size:1020Kb
Computer Science 2210 Project: 1 BARNETT, DONNIE RAY IN SECTION 201 Criteria Worth Earned Comments Submission Includes all required items needed to grade 15 Named correctly according to Course Facts Code Properly documented with comments 15 Code compiles w/o errors or warnings Properly modularized into complete classes CreditCardHolder Name validated as present Format of email address & phone number 20 validated using regular expressions Errors handled appropriately CreditCardType Enumeration Enum properly defined with spec’ed values 10 Defined in its own .cs file CreditCard class Uses properties with appropriate accessibility for each data item managed (e.g., no public CreditCardNumbers) Expiration date validated as reasonable Correctly removes spaces, dashes, and so 25 forth from CC Number Number validated with Luhn’s algorithm Card Type correctly determined Card expired or not determined correctly Invalid input handled appropriately Driver class Does all I/O Interaction with user is “user-friendly” 15 Menu driven Results are correct Documentation (see documentation policies) One missing or meaningless item (-5) Two missing or meaningless items(-10) Three missing or meaningless items (-25) 0 > 3 missing or meaningless items (-50) Improper file, class, property, variable, method naming included in the penalties Early Bonus/Late Penalty Points (see policies) 0 Computer Science 2210 Project: 1 TOTAL 100 0