Exam Review

Past exams

The following are the practice and real exams prepared for various versions of the course. Even though in some semesters we may have explained a few ideas slightly differently, these should be considered good practice problems.

Sometimes exams contained typos, resulting in more lenient grading that the key would indicate. In some, but not all, cases those typos were corrected before being posted here.

Semester Exam Practice Actual Key Mean Median Deviation
Fall 2018 1 f18-1p pdf f18-1 pdf f18-1 key 89.9% 93.8% 10.3%
Fall 2018 2 f18-2p pdf f18-2 pdf f18-2 key 78.8% 79.5% 16.7%
Fall 2018 3 f18-3p pdf f18-3 pdf f18-3 key 64.5% 69.8% 25.7%
Fall 2019 1   f19-1 pdf f19-1 key 83.2% 86.8% 12.4%
Fall 2019 2   f19-2 pdf f19-2 key 75.5% 78.7% 12.4%
Fall 2019 3   f19-3 pdf   76.7% 80.0% 14.9%
Spring 2022 1   s22-1 pdf s22-1 key 89.9% 94.0% 13.6%
Spring 2022 2   s22-2 pdf s22-2 key 80.8% 84.0% 14.0%
Spring 2022 3   s22-3 pdf s22-3 key 74.8% 78.1% 15.2%
Fall 2022 1   f22-1 pdf f22-1 key 75.4% 77.0% 15.4%
Fall 2022 2   f22-2 pdf f22-2 key 75.3% 79.0% 14.6%
Fall 2022 3   f22-3 pdf f22-3 key 65.2% 67.5% 14.95%
Spring 2023 1   s23-1 pdf s23-1 key 75.1% 78.0% 18.81%
Spring 2023 2   s23-2 pdf s23-2 key 72.1% 74.0% 14.75%
Spring 2023 3   s23-3 pdf s23-3 key 71.6% 73.0% 16.86%
Fall 2023 1   f23-1 pdf f23-1 key N/A N/A N/A
Fall 2023 2   f23-2 pdf f23-2 key N/A N/A N/A
Fall 2023 3   f23-3 pdf f23-3 key N/A N/A N/A
Spring 2024 1   s24-1 pdf s24-1 key N/A N/A N/A
Spring 2024 2   s24-2 pdf s24-2 key N/A N/A N/A
Fall 2024 1     f24-1 key N/A N/A N/A
Spring 2025 2   s25-2 pdf s25-2 key N/A N/A N/A
Fall 2025 1   f25-1 pdf f25-1 key 69.7% 70.0% 18.2%
Fall 2025 2   f25-2 pdf f25-2 key 73.6% 77.0% 15.67%
Fall 2025 3   f25-3 pdf   61.6% 60.0% 15.47%

Known Errata

Fall 2023 Exam 3

  • See f23-3 errata pdf here. Use the corrections page questions instead of the ones on the exam.
  • For question 8, you can ignore C5, but all the other values matter, and assume that the branch is taken such that RA <= 0.
  • For question 16A, answer B has extra semicolon ; and it should return int, not short (typos).
  • For question 20, we want to move Programming! instead of Programming.

Copyright © 2025 John Hott, portions Luther Tychonievich.
Released under the CC-BY-NC-SA 4.0 license.
Creative Commons License

This site uses Just the Docs, a documentation theme for Jekyll.