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.

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 on all previous prelim 1s and/or their solutions is included in the 2022SP study guide .

Prelim 2 in Previous Semesters

Commentary on all previous prelim 2s and/or their solutions is included in the 2022SP study guide . Peng Chen made a Superzip of the files for the prior Prelim 2 files as of Apr 16, 2022. (We course staff are not maintaining this zip file, so updates will not be reflected in it. )

Final in Previous Semesters

Commentary on finals up to and including Fall 2021 is included in the 2022SP final exam study guide .

For those interested in the questions on loop invariants, here is a reading on loop invariants .