COMP2521 Prac Exam 1

Locations

You have been assigned to a lab for the exam, based on your tutorial group.

Please check the table below and make sure you go to the correct lab on the day

Tutorial GroupExam Location
M10A: mon10-sitaroboe
M14A: mon14-sitarkora
T10A: tue10-sitarkora
T17A: tue17-sitaroud
W10A: wed10-sitarbrass(bugle/horn)
W14A: wed14-sitarsitar
H14A: thu14-sitarflute
F10A: fri10-sitaroboe
F14A: fri14-sitarbrass(bugle/horn)

Exam Instructions

The prac exam consists of five questions and you have 1 hour and 30 minutes to solve the questions. Each question is worth 10 marks.

As always, it is a good idea to start with the simplest question - be mindful of the time, if you get stuck, try to move to the next question and come back to the problem later.

The submission instructions are detailed in the file for each question. When submitting your program, the system will run a couple of simple tests. The test code is not available, but if a test fails, you can use gdb, set a break point at the function you implemented, and step through the execution to see where things are going wrong.

Each question is described in the corresponding .c file

For all questions, you may create your own additional helper functions, but be s ure to make them static.

Other Exam Information

You will definitely get programming questions involving linked lists, recurision and binary search trees.

For all questions there are submission tests and test files provided. Passing these does not guarantee full marks, but they are a good start!

For some of the test files, you will just get a .o file (not a .c file) as seeing the test code would help you answer the actual question.

During the exam you will have access to the following C Reference Card You will be able to access it by right clicking on the desktop and selecting it from the menu.