| Lecture notes for Computer Science II by James Tam | Return to the course web page | 
		Item | 
		
		Effect on grade | 
	
| Java program not submitted as a zip file | 2 marks lost | 
| Uses static methods (other than the main method) | Divide total marks for Part II by two (rounded down) | 
| 
		 | 
		
		Actual mark | 
		
		Max | 
	|
| Naming conventions | 1 | ||
| Layout and appearance of the Java source code (alignment, formatting, whitespace) | 1 | ||
| Layout and appearance of the program output (when the program is actually running) | 1 | ||
| Appropriate use of constants | 1 | ||
| TOTAL | 4 | ||
| 
		 | 
		
		Actual mark | 
		
		Max | 
	|
| Documentation for this program should include: some sort of versioning system, a description of the features of the program (what it does rather than how it does it), limitations of the program (features not implemented or cases that it can't handle). | 1 | ||
| 
		 | 
		
		Actual mark | 
		
		Max | 
	|
| Prompts for and gets as input the user's age | 1 | ||
| Prompts for and gets as input the user's address number | 1 | ||
| Prompts for and gets as input the user's pet information | 1 | ||
| Checks the validity of the age | 2 | ||
| Sets the age and age modifier to the default values when an invalid age has been entered | 1 | ||
| Checks the validity of the address number and sets the appropriate default as needed | 2 | ||
| Sets the address and address modifier to the default values when an invalid address number has been entered | 1 | ||
| Checks that category for the pet type is one of the ones listed | 3 | ||
| Sets the category to pet type and pet modifier to default values if an unlisted pet category has been entered | 1 | ||
| Calculates and displays the numerical fundex value | 2 | ||
| Determines and displays the correct fundex category from the numerical fundex | 3 | ||
| Prompts for and allows additional re-runs of the program using a loop | 2 | ||
| TOTAL FOR PROGRAM FUNCTIONALITY | 
        20 | 
	||
| Total score (Part I & II) | Letter | 
| A | 50 | 
| A- | 48 - 49 | 
| B+ | 45 - 47 | 
| B | 42 - 44 | 
| B- | 39 - 41 | 
| C+ | 35 - 38 | 
| C | 31 - 34 | 
| C- | 27 - 30 | 
| D+ | 23 - 26 | 
| D | 19 - 22 | 
| D- | 15 - 18 | 
| F | < 15 | 
		TOTAL MARKS | 
		
		LETTER GRADE |