Anne Dawson: CSCI102A_HW2_SP04.htm

 

First created: Wednesday 4th February 2004, 9:05 PT, AHD

 

This document is subject to change without notice.

 

Please report any errors or omissions in this document:

adawson@coquitlamcollege.com

 

Special instructions:

For this assignment you must work alone.

See schedule for due date.

 

CSCI102A Homework 2

-------------------

 

Specification:

-------------

 

A program using the Purchase class.

 

#6 page 259, 3rd Ed

#6 page 294, 2nd Ed

 

 

 

Marking Scheme :

--------------

 

The following marking scheme applies:

 

Course Code:             CSCI102A

Semester:                SP04

Assignment Code:         HW2

Instructor Name:         Dr Anne Dawson

Lab Specification:      A program using the Purchase class.

                         #6 page 259, 3rd Ed

                         #6 page 294, 2nd Ed

 

 

Student Name:

Student Number:

 

DESIGN

 

 

1.  Appropriate data types are used.                     /10

 

2.  Appropriate control structures are used

    (i.e. loops and decisions).                          /10

 

3.  The User Interface (output to the screen) is

    clear and tidy.                                      /10

 

MAINTAINABILITY

 

4.  The program is commented appropriately - including

    programmer name, date and filename. Provide pre- and

    post-condition comments for all methods.

    Comment for javadoc. Run javadoc.exe on your .java

    files and hand in the generated .html documentation

    files with your .java files.                         /10

 

5.  The program has meaningful identifiers.              /10

 

6.  The program is indented (spaced out) correctly, to

    aid the understanding of the code.                   /10

 

7.  The code is easy to follow.                          /10

 

CORRECTNESS:

 

8.  The program compiles with 0 errors and 0 warnings.   /10

 

9.  Appropriate test data and results

    are shown in the comments at the top of the code.

    An appropriate number and variety of test data

    sets is supplied.                                    /10

 

10. The program is complete.                             /10

                           

 

                                               Total:   /100

                                     

                                    Date: