Midterm grading rubric:
- Problem 1: removeAll(o)
- 10 points: iteration over all array elements to search for o
- 5 points: handling of case where o occurs multiple times in a row
- 20 points: shifting down elements to the "right" of o
- 5 points: decreasing _numElements
- Problem 2: interfaces and implementations
- 5 points: implementation of m() in M
- 5 points: implementation of b() in M
- 10 points: implementation of a class that implements B
- Problem 3: addToBack(o) and moveToFront(o)
- 20 points: addToBack(o)
- 20 points: moveToFront(o)
- For both of the above sub-problems, -1 was given for small syntactic errors only; -2,
-4, -6, or -10 was given for logic errors depending on how serious they were.