CMSC 201 : Computer Science I (semester) ============================================ Homework X: Assignment Title Due: a Sunday date, before midnight General: 5 point deduction for not using a main() function 10 point deduction for the use of global variables 10 point deduction for the use of break or continue 30 points - Produced a Python error 10 points - other run-time error (infinite loop, etc.) ---------------------------------------------------------------------------- Correctness (Section 1) 25 - 35 points for individual requirements as specified in the assignment Design (Section 2) 25 - 35 points for using good design decisions like Printing a greeting to the user Using constants instead of having "magic numbers" in code. Other assignment specific design decisions Style (Section 3) 5 points - Use of adequate whitespace a) Separates logical sections of code with blank lines b) Blank spaces around operators c) Code should fit in a max screen width of 80 chars whenever it *can* be broken down to do so 5 points - Inline comment style d) Uses only "inline" comments (comments above the code being commented) e) Comments should line up exactly above the code being commented 5 points - f) Use of meaningful variable names 5 points - Use of naming conventions per CS201 Style sheet g) Separate "words" within identifiers with underscores or mixed upper and lower case h) Variable names begin with lowercase i) Function names begin with lowercase k) Constants are in all uppercase Documentation (Section 4) 5 points - a) File header comments have filename, author, date, section #, and email address (1 pt each) 5 points - b) Adeq. file descrip. given in the file header comments 5 points - c) Every function has a function header comment per standards 5 points - d) Adequate descriptive comments within the code Extra Credit (Section 5) 1-10 points At the discretion of the grader for one or more of: a) outstanding documentation b) efficient or clever algorithm 0-10 points for assignment specific possible extra credit ---------------------------------------------------------------------------- Pts. lost: -0 Score: xx/100 ---------------------------------------------------------------------------- Comments: