CS 2102 (B11): Object-Oriented Design Concepts
Homework Expectations
Home |
Staff and Office Hours |
Lectures and Assignments |
MyWPI |
Policies
In general, please follow these guidelines in preparing your
assignments:
- Put the names of all students for whom the assignment is
submitted in the file containing your Examples class.
- Annotate every method get with a brief comment explaining what
the method does. This is analogous to the 1101/2 purpose statement.
- Provide examples of data for all classes you define. Put these
in an Examples class (one Examples class per
assignment/project).
- Provide test cases for all of your methods. We will grade your
test cases for coverage of the valid inputs and coverage of the
logic of the corresponding implementation.
- Use appropriate techniques to reuse common code (this will go
into effect after hwk1).
- Use newlines and indentation to produce clean code (we actually
read your code, we don't just run it). Producing clean code is one
of the evaluation outcomes for the course.
You do NOT need to:
- Comment individual lines within your code unless something subtle
is going on.
- Provide 1101/2-style templates, unless a question asks otherwise.
- Include error checking (until we cover that in the course just
before Thanksgiving).