University of Ottawa, School of IT and Engineering

 

CSI1102 Mark Sheet:

LAB Assignment 1, 2005

 

Student Name:

 

 

Student Number:

 

 

 

Mark

Total

Question 1:

Appropriate ‘white spaces’ and comments

Compile / Run correctly

 

 

2

1

Question 2

Appropriate ‘white spaces’ and comments

Meaningful names of variables

Use Random class or Math.random() correctly

Correct range (0-9, a-z)

Correct use of casting where needed

Compile

Run correctly

 

 

1

1

1

1

1

1

1

Question 3

Appropriate ‘white spaces’ and comments

Meaningful names of variables

Reading input from keyboard

Correct loop (runs at least once)

Compile

Run correctly

 

 

1

1

2

2

1

2

Question 4

Appropriate ‘white spaces’ and comments

Meaningful names of variables

Use Random class or Math.random() correctly

Program logic; use of if-else

Correct loop (runs at least once), read input from keyboard

Compile

Run correctly

 

 

1

1

1

3

2

1

2

TOTAL

 

30

Marked By:

TA  Name

 

TA signature

 

Date