COMP2521 Sample Final Exam (23T0)

Notes:


Part 1 (of 3): Multiple Choice (25 marks)

There will be 8 to 14 multiple choice questions. The marks for each question may vary.

Type your answer in the text file provided, save and submit the file.

Please refer to the quiz questions.


Part 2 (of 3): Short Answer (25 marks)

Note: The marks for each question varies.

Type your answer in the text file provided, save and submit the file.

Part 2: Q1 (3 marks)

Identify one important difference between Euler path and Hamilton path.

Type your answer to the above question in the text area provided, save and submit your answer.

Part 2: Q2 (4 marks)

Tutorial Week-2, Q4

Type your answer to the above question in the text area provided, save and submit your answer.

Part 2: Q3 (4 marks)

Tutorial Week-2, Q6a and Q6b

Type your answer to the above question in the text area provided, save and submit your answer.

Part 2: Q4 (4 marks)

Tutorial Week-3, Q10

Type your answer to the above question in the text area provided, save and submit your answer.

Part 2: Q5 (5 marks)

Tutorial Week-4, Q1

Type your answer to the above question in the text area provided, save and submit your answer.

Part 2: Q6 (5 marks)

Tutorial Week-5, Q4

Type your answer to the above question in the text area provided, save and submit your answer.


Part 3 (of 3): Programming Questions (50 marks)

Note: The marks for each question may vary.

Part 3: Q1

From "Practice Exercises" : Exercise 06 - listSetUnion

Also consider other questions from the tutorials, labs and Practice Exercises" on the topic of Linked Lists.

Part 3: Q2

From "Practice Exercises" : Exercise 06 - TreeSumOdds

Also consider other questions from the tutorials, labs and Practice Exercises" on the topic of BST.

Part 3: Q3

From "Practice Exercises" : Exercise 04 - numReachable

Also consider other questions from the tutorials, labs and Practice Exercises" on the topic of Graph.


End