CSI1102 Mark Sheet:
LAB Assignment 2, 2005
Student Name: |
|
|
||
Student Number: |
|
|
||
|
Mark |
Total |
||
Questions 1.1 and
1.2: Appropriate ‘white spaces’ and comments Meaningful names for variables Design and use of classes, objects and constructors Private visibility for instance data Reverse the student number Trailing zeros of st# (0012345 should be 432100) Use of random number generator (correct range) Calculation of check digit Method decomposition (as in WindowUPC.java) Private visibility for support methods Compile correctly Run correctly (output correct UPC code) Run correctly (UPC drawn in a window) Run correctly (can exit the drawing window by pressing 0) |
|
1 1 3 2 1 1 1 2 2 2 1 1 1 1 |
||
Question 2: Appropriate ‘white spaces’ and comments Meaningful names of variables Number of loop iterations (and if it affects the width) Colors handled gradually in loops from the start color to the end color Creating and setting colors and use of drawLine Applet size (in Colors.java and in Colors.HTML) Compile correctly Proper use of applet tag in HTML Run correctly (check using a Web browser) |
|
1 1 1 1 2 1 1 1 1 |
||
TOTAL |
|
30 |
||
Marked By:
TA Name |
|
TA signature |
|
Date |
|