CSE2305 - Object-Oriented Software Engineering
assessment

 

Assignment 1: marking guide


The assignment was due Friday, August 12, 2005.
Total marks: 50.
Contribution to final mark: 5%.

For marking, use a scheme with 10 marks per question, so a total of 50 marks = 5% is possible. Please use only integers for the marks.

Please see also the general comments about marking on the assessment page.

Make sure all code submitted includes a correct declaration. If this is missing please contact the student and ask them to include the declaration (with correct details). Without this declaration, it may be difficult to penalize them for plagiarism.


Synopsis


Question 1

[10 marks]

i. Successful Makefile with build and clean targets – 3 marks.

ii. Correct explanation of the function of List::Node – 4 marks (see sample answers).

iii.Commented code – 3 marks


Question 2

[10 marks]

Explain why destructor is needed – 3 marks

Correct destructor in code – 7 marks (see sample answers)


Question 3

[10 marks]

Code for deleteCurrent – 6 marks

Demonstration/evidence of testing – 4 marks


Question 4

[10 marks]

Sorting algorithm – 7 marks

Note that students were asked to sort in lexicographic (dictionary) order.
Credit should be given for students who write their own sorting algorithm rather than using external sorting algorithms, particularly if this involves conversion from the internal representation. For example, converting to an array and calling the Unix quicksort function should not receive credit.

Demonstration/evidence of testing – 3 marks


Question 5

[10 marks]

Shows separate Node class inside List – 2 marks

Separation of data and methods – 2 marks

Correct illustration of composition – 3 marks

Shows major data and methods – 4 marks

Distinguishes public and private types – 2 marks

(Max total is 10 marks).


This material is part of the CSE2305 - Object-Oriented Software Engineering course.
Copyright © Jon McCormack, 2005. All rights reserved.

Last Modified: August 11, 2005