Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview

  • Recall that all homeworks are to be done in pairs. This directive includes both expository problems and programming problems.
  • In Java, the solution to each programming problem must be placed in a separate file using the name (such as ObjectList.dj1 given in the problem. Similarly, the corresponding JUnit test file should be placed in a separate test file (such as ObjectListTest.dj1 Please do not split composite class definitions across files unless specifically directed to do so; it makes them very hard to read.

...

  • Nearly all of your homework problems will be programming problems.
  • Over half (60%) of your grade on programming problems depends on writing correct code (30%) and comprehensive test suites (30%).
  • Another major component of your grade (30%) is your program style, primarily how well you use OO design principles in writing your code.
  • The remaining 10% is based on your documentation. Explicit documentation in Java is less critical that it is in Scheme because Java is object-oriented and statically typed. Most of your Scheme documentation involved defining and declaring program types and showing your recursive program decompositions (templates). In Java, the static type declarations and OO structure of your program reveals the same information. Only contracts (HTFP purpose statements) for classes and class members must be provided as documentation.
  • All of the non-test code for a typical problem should be placed in a single file. The accompanying test code goes in a separate file. Use the names specified in the problem description. Typically, the test file for a problem placed in file . (where is dj0, dj1, or java) will be placed in a file called Test..
  • Really large problems should be divided into separate files as suggested in the problem description.
  • At the top of your programming solution file, please put a header with the assignment number, your name and e-mail address, and your partner's name and e-mail address, like this:
    Code Block
    /* COMP 211 HW #01
     * Christopher Warrington <chrisw@rice.edu>
     * Gregory Malecha <gmalecha@rice.edu>
     */
    

Submitting your homework

Please submit your homework using the OwlSpace submission facility.

...