Mini-assignment A
Name(s):
Grade (out of 30):
_____ Counter.java: 11 pts
-
2 pt general structure and other details
-
2 pts private int for count
-
1 pt Counter()
-
1 pt Counter(int)
-
1 pt increment()
-
1 pt getCount()
-
1 pt reset()
-
2 pt createEquivalentCounter()
______ CounterApp.java: 6 pts
-
2 pts General structure, misc
-
1 pt Creating two Counters and printing
-
1 pt Incrementing and printing
-
1 pt Creating third counter and printing it
-
1 pt Reseting, incrementing and printing first counter
______ RunAway.java: 3 pts
-
2 pts General structure, misc.
-
1 pt calling begin()
______ TUSSG: 5 pts
-
1 pt Not assigning to parameters
-
2 pts Always qualifying method calls and variables
-
2 pts Never initializing and declaring on one line.
______ Style and Documentation: 5 pts
Style
-
Line up braces
-
Use vertical whitespace
-
Use horizontal whitespace
-
Lines must not exceed 80 columns
-
Indent to show level of nesting
-
Follow naming conventions
-
Use descriptive names
Documentation
-
Main class file header comment
-
Other class file header comments
-
Class header comments
-
Method header comments
-
Variable declaration comments
-
Comments within the body of methods
_____ Extra credit:
-
+2 pts for good javadoc files
-
+? pts for going above and beyond
_____ Extra debit:
-
-2 pts for turning the files in incorrectly