The Mind Of Sauron
From Huben's Wiki
Line 50: | Line 50: | ||
* How to make and use arrays. | * How to make and use arrays. | ||
* How to initialize Strings and arrays of Strings. | * How to initialize Strings and arrays of Strings. | ||
+ | * Returned values must match the return type. | ||
* The difference between int and double, especially for division. | * The difference between int and double, especially for division. | ||
* How to pick meaningful names for methods and variables (fields and local variables.) | * How to pick meaningful names for methods and variables (fields and local variables.) | ||
* The meaning of static, public and private can still be a mystery. | * The meaning of static, public and private can still be a mystery. | ||
+ | * Pitfall: using the same name for a field and an argument or local variable. Don't do it. | ||
* We can write a large, awesome program that does real stuff! | * We can write a large, awesome program that does real stuff! | ||
--> | --> | ||
+ | Rubric (partial credit is available for all items): | ||
+ | {| border="1" | ||
+ | |- | ||
+ | | Points | ||
+ | | Description | ||
+ | |- | ||
+ | | 30 | ||
+ | | Following instructions closely and completely. | ||
+ | |- | ||
+ | | 20 | ||
+ | | Translation of an English description into a field or method. | ||
+ | |- | ||
+ | | 10 | ||
+ | | Using a method more than once with different arguments rather than duplicating code. | ||
+ | |- | ||
+ | | 10 | ||
+ | | Making and using arrays. | ||
+ | |- | ||
+ | | 10 | ||
+ | | Initializing Strings and arrays of Strings. | ||
+ | |- | ||
+ | | 10 | ||
+ | | Returned values must match the return type. | ||
+ | |- | ||
+ | | 10 | ||
+ | | The difference between int and double, especially for division. | ||
+ | |- | ||
+ | | 10 | ||
+ | | Meaningful names for methods and variables | ||
+ | |- | ||
+ | |} |