Policies
See the Policies page for information on exam modalities, how to request a makeup exam in the case of conflicts, and our commitment to accommodation requests from SDS.
Instructions for Online Exams
See our dedicated page on online-exam instructions.
Prelim 1
Prelim 2
Final Exam
Archive of old exams
To give you some idea of what the exams might be like,
we are freely posting all of the exams from earlier semesters for you to review.
However, please be aware of the following: The material covered and the order in which it is covered may change from semester to semester.
In particular, the material between the Fall and Spring semesters can be quite different. And exams from Spring 2017 and earlier used Python 2, not 3.
Prelim 1 in Previous Semesters
Commentary before Spring 2021 prelim 1 on previous prelim 1s is included in the
2021SP study guide.
- Spring 2021: Prelim 1, Solutions,
testing code
- Fall 2020: Prelim 1, Solutions
- Spring 2020: Prelim 1, Solutions
- Fall 2019: Prelim 1, Solutions
- Spring 2019: Prelim 1, Solutions
- Fall 2018: Prelim 1, Solutions
- Spring 2018: Prelim 1, Solutions
- Fall 2017: Prelim 1, Solutions
- Spring 2017: Prelim 1, Solutions
- Fall 2016: Prelim 1, Solutions
- Spring 2016: Prelim 1, Solutions
- Fall 2015: Prelim 1, Solutions
- Spring 2015: Prelim 1, Solutions
- Fall 2014: Prelim 1, Solutions
- Spring 2014: Prelim 1, Solutions
- Fall 2013: Prelim 1, Solutions
- Spring 2013: Prelim 1, Solutions
Prelim 2 in Previous Semesters
Commentary before Spring 2021 prelim 2 on previous prelim 2s is included in the 2021SP prelim 2 study guide.
- Spring 2021: Prelim 2, Solutions
- Fall 2020: Prelim 2, Solutions, testing code
- [Spring 2020 had no prelim 2 due to pandemic rearrangements]
- Fall 2019: Prelim 2, Solutions, testing code
- Spring 2019: Prelim 2, Solutions, testing code
- Fall 2018: Prelim 2, Solutions, testing code
- Spring 2018: Prelim 2, Solutions, testing code (the main test file in the zip file is 2018sp_code.py; the other files contain skeletons for you to fill in, and the main test file is expecting your solutions to be written in those files.)
- Fall 2017: Prelim 2, Solutions
- Spring 2017: Prelim 2, Solutions
- Fall 2016: Prelim 2, Solutions
- Spring 2016: Prelim 2, Solutions
- Fall 2015: Prelim 2, Solutions
- Spring 2015: Prelim 2, Solutions
- Fall 2014: Prelim 2, Solutions
- Spring 2014: Prelim 2, Solutions
- Fall 2013: Prelim 2, Solutions
- Spring 2013: Prelim 2, Solutions
Final in Previous Semesters
Commentary on finals before Spring 2021 is included in the 2021SP final exam study guide.
For those interested in the questions on loop invariants, here is a reading on loop invariants.
- Spring 2021: Final, Solutions, zip of skeletons/testing code
- [Fall 2020: final exam was replaced with final project]
- [Spring 2020 had no final due to pandemic rearrangements]
- Fall 2019: Final, Solutions, testing code
- Spring 2019: Final, Solutions
- Fall 2018: Final, Solutions, Python Tutor testing links
- Spring 2018: Final, Solutions, testing code, Python Tutor testing links
- Fall 2017: Final, Solutions
- Spring 2017: Final, Solutions
- Fall 2016: Final, Solutions
- Spring 2016: Final, Solutions
- Fall 2015: Final, Solutions
- Spring 2015: Final, Solutions
- Fall 2014: Final, Solutions
- Spring 2014: Final, Solutions
- Fall 2013: Final, Solutions
- Spring 2013: Final, Solutions