COMP 103 exam archive

Note that the course has changed over time so that old exams are less relevant to the current course
  • In 2018, there was a major change in emphasis in the course. Material on implementing Collections was dropped, and the focus changed to using collections and the complexity of code. The course still addresses Trees and recursion, but a little bit of graphs was introduced.
    Some questions in pre-2018 tests and exams that are still relevant to the new version of the course are noted.
  • From 2009, material on graphs was dropped and material on recursion was added.

NB! Solutions for some past exams are not available and are only partial at best.

  Tests Exam/Final Test
2022 T2 test ans final test ans
2021 T3 test 1 test 2 test 3 test 4 ans 1 ans 2 ans 3 ans 4    
2021 T2 test (txt file) ans (txt file) exam ans
2020 T3 test 1, test 2, test 3, test 4, test 5, test 6 ans 1, ans 2, ans 3, ans 4, ans 5, ans 6
2019 T3 test ans exam ans
2019 T2 test ans exam ans
2018 T3 test ans exam ans
2018 T2 test ans exam ans
 
2017 T2 test 1bc,2ab,3 (no answers) exam 3, 5  
2016 T2 test none answers exam 1, 9  
2015 T2 test 1b,2abc, 3c
3c recursion (hard)
answers exam 1b,c,d, 4c, 5b,c,f,g,h
qn4: recursion
answers
2014 T2 test 1,2acdg, 3e answers exam 1b, 2, 5c,d,e,f, answers
2013 T2 test 1
test 2
answers
exam 2,4a,6a,b, exam with answers
2013 T1 test 1
test 2
answers
answers
Error in 3a: array elements should be shifted
back to front not all overwritten as in the answer
exam answers
2012 T2 test 1
test 2
test 3
answers
answers
answers
Exam answers
2012 T1 Test answers Exam answers
2011 T2 Test answers Exam answers
2011 T1 Test answers Exam answers
2010 T2 Test answers Exam answers
2010 T1 Test answers Exam answers
2009 T2 Test answers Exam answers
2009 T1 Test1
Test2
answers
answers
Exam answers
2008 T2 Test answers Exam answers
2007 T3     Exam answers
2007 T2 Test answers Exam answers
2006 T3     Exam answers
2006 T2 Test answers Exam answers
2005 T3 test   Exam answers
2005 T2 Test answers Exam answers
2004 T2 Test answers Exam answers
2003 T2 Test answers   exam
2002 T2 Test answers   exam