Materials
11/23/18
Iterator
11/16/18
Generics, Exceptions, and Undo Commands (From previous years)
11/9/18
More About Generics, Abstract Classes, and Exceptions
11/2/18
Threads and Assertions
10/26/18
MVC
10/19/18
Fall Break
10/12/18
Observer Pattern
10/5/18
Factories and Lists
9/28/18
Inheritance
9/21/18
Composite Objects
9/14/18
Casting and Drawing with ObjectEditor
9/7/2018
Interfaces and Annotations
8/31/2018
Beans and object editor
8/24/2018
Checkstyle and Local Checks
On your own before first recitation
Starting with Java and Eclipse
Grader
Midterm Review
Rubrics
Assignment 3
Local Checks
- 75 points + 15 extra credit
Scanner Bean
- (15 points) Scanner Bean correctly calls getInput for all beans and calls getValue for a Number or Word.
- (15 points) Each bean type is instatiated in some way (word, number, quote, start, end)
Token Classes
- (24 points) Properties of each class are properly defined.
- (15 points) All token classes have a single parameter constructor.
Interfaces
- (21 points) All Interfaces are created and used
- (10 points) Public methods are in the interface for respective properties
Extra Credit
- (8 points) Plus and Minus classes instatiated with the proper interface.
- (8 points) Plus and Minus classes have proper constructor and properties defined.
Screen shots
- (10 points) Proper screen shots enclosed
Penalty
- (-25 points) Illegal call or import
- (-10 points) Not having a "main" package having a main class called "Assignment3".
- (-3 points each) Not having the tags “Number”, “Word”, “Quote”, “Plus”, “Minus”, “Start”, “End” for
number/word/quoted string/plus (extra credit)/ minus(extra credit), start token, end token ,
respectively.
- (-10 points) Not declaring your bean variable to be of an Interface type
- (-20 points) Not uploading the project in a zipped folder with bin and src folders.
- (-10 points) Each class is not in its own file.
Assignment 2
- (10 points) scanString() and indexOf() called in ScannerBean class
- (5 points) ScannerBean instatiated once in main class
- (20 points) Works properly with multiple quoted strings
- (10 points) Works properly with multiple number
- (10 points) Works properly with multiple words
- (10 points) Correctly runs with mixed word, number, and quoted string inputs
- (10 points) Mixed output works properly
- (30 points) Screenshots enclosed showing you using the debug mode
Extra Credit
(5 points) Works with the + and - signs
- (5 points) Recovers from a missing quote in someway
- (5 points) indexOf() called in scanning iterator [Offsets points lost for not caling in Bean class]
Penalty
- (-25 points) Using illegal import [.* import] or illegal method call [Scanner.next()]
Assignment 1
Functionality
- (15 points) scanString() passes all tests
- (3.3 points) Properly prints out single token
- (3.3 points) Properly calculates and prints out sum with single token
- (3.3 points) Properly calculates and prints out product with multiple single (even if the product is "wrong" due to overflow)
- (10 points) Properly prints out multiple tokens
- (10 points) Properly calculates and prints out sum with multiple tokens
- (10 points) Properly calculates and prints out product with multiple tokens (even if the product is "wrong" due to overflow)
- (5 points) Properly terminates when line input starts with a "."
- (18 points) indexOf() performs as expected
Style
- (15 points) Assignment1 class calls processInput()--> void, indexOf(String, char, int) --> int, and scanString(String)-->void
- (15 points) Screenshots included
Extra Credit
- (5 points) Turn in Early (Wednesday 8/30 by 11:55 pm)
- (30 points) Iterator implemented correctly
- (5 points) indexOf() called in Iterator class (offsets failing to call indexOf() in Assignment1 class)
- (5 points) indexOfNot() correctly runs and called
- (10 points) Correctly handles illegal characters
- (10 points) Especially nice code (Extra meaningful methods, useful classes, good
comments/documentation)
Penalty
- (-20 points) Illegal library import or import using * (e.g. StringTokenizer or "import java.io.*;")
- (-25 points) Illegal Method Call (i.e. split() )
- (-10 points) Not having a main package having a main class called Assignment1.
Old Recitations
Iterator
11/20/15
Generics, Exceptions, and Undo Commands
11/13/15
Synchronized Threads and Thread Coordination
11/11/16
Threads and Assertions
11/4/16
MVC
10/28/16
Observer Pattern
10/14/16
Collections
10/7/17
Inheritance
9/30/16
More Drawing with ObjectEditor
9/23/16
Drawing with ObjectEditor
9/16/16
Interfaces and Annotations
9/9/16
Checkstyle and Local Checks
9/2/16
Eclipse Programming
8/26/16
Starting with Java and Eclipse
On your own before first recitation