As our midterm exam approaches, here are some old exams and sample exams (from previous terms).
Several caveats apply: Our term’s exams and course may differ from these term’s exams and courses in important ways (beyond, obviously, the specific questions used!). We do not have additional materials related to these exams that might be missing. We have not recently reviewed these, and we don’t know how well they relate to what our term has done so far.
Some of these require the login “cpsc320” and the solutions password for our term or a previous one to access, which are posted on Piazza:
- 2017W2
- 2017W1 midterm 2 blank (time limit was 65 mins) and sample solution
- 2017W1 midterm 1 blank (time limit was 65 mins) and sample solution
- 2017W1
- 2017W1 final exam pre-reading and sample solution to pre-reading problem.
- 2017W1 midterm2 blank (time limit was 75 mins) and sample solution
- 2017W1 midterm1 blank (time limit was 75 mins) and sample solution
- 2016W2
- 2016W2 Final Exam with (password protected) ugly handwritten sample solution (CORRECTION: Q8.2’s i <= floor(n/2) in isMajority should be i <= ceil(n/2)).
- 2016W2 Midterm Exam (time limit was 75 mins) and sample solution (CORRECTION: Q4.3(b) “O(n + n)” should be “O(n + n lg n)”).
- 2016W1 Midterm Exam and sample solution.
- 2014W2
- 2014W2 Final Exam Practice Problems, video sample solutions, and ugly (in the author’s opinion) hand-written solutions from the videos.
- 2014W2 Midterm #2 and a sample solution (password required!)
- 2014W2 Midterm #2 Practice Problems, video sample solutions, and ugly (in the author’s opinion) hand-written solutions from the videos.
- 2014W2 Midterm #1 (group exam version) and a sample solution(password required!)
- 2014W2 Midterm #1 Practice Problems, video sample solutions, and ugly (in the author’s opinion) hand-written solutions from the videos. (For 5.3 and 8.1 (and possibly a few others), I fell short of what I’d consider total closure on the question. 5.3 is a bit of a broken question; for 8.1, I’m satisfied with my possibly-loose answer (and wanted to move on to the more important 2nd and 3rd parts of the question).)
- 2014W1
- 2014W1 First Sample Midterm #1 and its (password protected) sample solutions
- 2014W1 Second Sample Midterm #1 and its (password protected) sample solutions
- 2014W1 Sample Midterm #2 and its (password protected) sample solutions
- 2014W1 Sample Final Exam and its (password protected) sample solutions
- Password protected 2014W1 Midterm #1 sample solution (original not available)
- Password protected 2014W1 Midterm #2 sample solution (original not available)
Old samples I found through online searches:
Old course offerings are often available at http://www.ugrad.cs.ubc.ca/~cs320/YYYYSP, where YYYY is the 4-digit year, S is the session (W or S), and P is the part (1 or 2, often missing in summer). Here’s a few:
- 2016 Winter Term 2 (Wolfman)
- 2016 Summer Term 1 (Harvey)
- 2015 Summer Term (Harvey)
- 2014 Winter Term 2 (Wolfman)
- 2014 Winter Term 1 (Belleville)
- 2014 Summer Term (Schroeder)
- 2013 Winter Term 2 (Belleville)
- 2013 Winter Term 1 (Belleville)
- 2012 Winter Term 2 (Meyer)
- 2009 Winter Term 2 (Wolfman)
- 2009 Winter Term 1 (Evans)