CS 367, Fall 2011 Programming Assignment 2
Partner 1
Partner 2
Score
Name
Student, Annie
100
CS Login
astudent
(out of
100
)
Grader
Name of TA
(
TA's CS login
)
General Comments
General grading standards for programming assignment 2.
0
Late Days (Deduction Only)
0
Hand In (Deduction Only)
Extra file(s) such as .class file(s) (in future, send email to Beck to have them removed) (-1)
Comments:
README.txt files missing for one or both partners in a pair (-1)
Comments:
53
ImageLoopEditor class (53 points)
Command-line arguments (-4)
Doesn't give message if more than one command-line argument is given (-1)
Comments:
Doesn't give message if input file does not exist (-1)
Comments:
User input not echoed when reading from input file (-1)
Comments:
Validate input (-10)
Doesn't recognize invalid character command (-1)
Comments:
Doesn't allow more than a single space between command and additional info (-1)
Comments:
Validation of extra info missing for one or more commands (-3)
Comments:
Validation of filename (or part of a filename) not done for one or more commands (-2)
Comments:
Doesn't display 'invalid command' (-1)
Comments:
Current context (-4)
Comments:
Operation: ? (-1)
Comments:
Operation: s filename (-4)
Comments:
Operation: l filename (-4)
Comments:
Operation: d (-2)
Comments:
Operation: f (-2)
Comments:
Operation: b (-2)
Comments:
Operation: j N (-3)
Comments:
Operation: r (-4)
Comments:
Operation: a filename (-3)
Comments:
Operation: i filename (-2)
Comments:
Operation: c string (-5)
Comments:
Operation: u time (-2)
Comments:
Operation: x (-1)
Comments:
25
LinkedLoop class (25 points)
General (-5)
Public method(s) and/or constructor(s) added to LinkedLoop class (-4)
Comments:
Local variables made into data members (-1)
Comments:
Constructor missing/incorrect (-1)
Comments:
add (-4)
New item did not become the current item (-1)
Comments:
getCurrent (-3)
Doesn't throw EmptyLoopException if image loop is empty (-1)
Comments:
removeCurrent (-5)
Doesn't throw EmptyLoopException if image loop is empty (-1)
Comments:
Item
after
removed item did not become the current item (-1)
Comments:
next (-2)
Comments:
previous (-2)
Comments:
isEmpty not implemented or incorrect (-1)
Comments:
size not implemented or incorrect (-1)
Comments:
iterator (-2)
Comments:
2
EmptyLoopException class (2 points)
Not a checked exception (-1)
Comments:
10
LinkedLoopIterator class (10 points)
Doesn't implement Iterator interface (-2)
Comments:
Constructor (-2)
Comments:
hasNext (-2)
Doesn't correctly identify when beginning of linked loop is reached (-1)
Comments:
next (-3)
Comments:
Doesn't throw NoSuchElementException if there are no more elements (-1)
Comments:
remove (-1)
Doesn't throw UnsupportedOperationException (-1)
Comments:
10
Style and Documentation (10 points)
File name not the same as the class name (-1 per file) (-3)
Comments:
File name is incorrect (-1 per file) (-3)
Comments:
Bad Style: line up braces (-1)
Comments:
Bad Style: use vertical whitespace (-1)
Comments:
Bad Style: use horizontal whitespace (-1)
Comments:
Bad Style: indent to show level of nesting (-1)
Comments:
Bad Style: lines must not exceed 80 columns (-1)
Comments:
Bad Style: follow naming conventions (-1)
Comments:
Bad Style: use descriptive names (-1)
Comments:
Bad Style: data members should be private (-2)
Comments:
Bad Commenting: each file requires a header comment (-1)
Comments:
Bad Commenting: each class/method requires javadoc-style comments (-1)
Comments:
Bad Commenting: use comments in method bodies (-1)
Comments: