CS 2102 (D15): 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
assignment files for submission:
- Put the names of all students for whom the assignment is
submitted (when pairs are allowed) 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 the first homework).
- 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.
- Submit only your
.java
files, not your
.class
files.
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 April--assignments
will indicate when error checking is expected).