Past Exams

The exams from the most recent offerings of CS188 are posted below. For each exam, there is a PDF of the exam without solutions, a PDF of the exam with solutions, and a .tar.gz folder containing the source files for the exam.

The topics on the exam are roughly as follows:

For the Fall 2011 and Spring 2011 exams, there is one midterm instead of two. The midterm covers all topics listed for Midterm 1, and includes Probability and Bayes' Nets. The final is cumulative, containing all topics listed above.

SemesterMidterm 1Midterm 2Final
Spring 2014 Midterm 1 (solutions) [source] Midterm 2 (solutions) [source] Final (solutions) [source]
Fall 2013 Midterm 1 (solutions) [source] Midterm 2 (solutions) [source] Final (solutions) [source]
Spring 2013 Midterm 1 (solutions) [source] Midterm 2 (solutions) [source] Final (solutions) [source]
Fall 2012 Midterm 1 (solutions) [source] Midterm 2 (solutions) [source] Final (solutions) [source]
Spring 2012 Midterm 1 (solutions) [source] Midterm 2 (solutions) [source] Final (solutions) [source]
Fall 2011 Midterm (solutions) [source] Final (solutions) [source]
Spring 2011 Midterm (solutions) [source] Final (solutions) [source]

Compiling Source Files

To compile the exam from source files, find the LaTeX file corresponding to the exam name. For example, if you were trying to compile the Fall 2013 Final, you would look for fa13_final.tex. Using any LaTeX editor or running pdflatex from the command line, the exam should compile. To compile the solutions, find the LaTeX file corresponding to the exam name appended with _solutions and compile the file from there.

Editing Suggestions

Below is a simple problem template:

      \begin{problem}[]{Extra-Credit Problem}
      \begin{question}
      \begin{subquestion}[1]
      ...
      \end{subquestion}
      \begin{subquestion}[1]
      \end{subquestion}
      \end{question}
      \begin{question}[12]
      \end{question}
      \end{problem}
    

Use the multicol package for multiple column layouts.

Prefer using the tikz package for graphics to make them easily editable.

Any \includegraphics statements should only specify the basename and all graphics files should be located under ./figures.

Use the following two macros to generate bullets for multiple choice questions:

The \solc{} macro will highlight its argument and draw a box around it in the solutions pdf.

Use the \solution{}{} macro for questions that are not multiple choice:

Any \newpage between the last \end{problem} and \end{document} will break the template and points will no longer add correctly.

If the compiled exam does not display the total points on the front of the exam, and rather, you see a bunch of question marks, try recompiling the file again.