Practice Problems

DSC 40A at UC San Diego


This site contains practice problems taken from old DSC 40A exams. We’ve organized problems in two ways:

  1. By topic. This makes it easy to practice old exam problems by topic.
  2. By past exam. This makes it easy to simulate taking an entire exam.

In all cases, you should work on these problems on paper, since your exams will also be on paper. Even though you will see some multiple choice bubbles, you intentionally cannot select them.

Note that some offerings in the past had one Midterm Exam and one Final Exam, while other offerings had two Midterm Exams and a two-part Final Exam. Typically:

Note that in Spring 2024, we’ve covered more linear algebra concepts (e.g. projecting a vector onto the span of other vectors) than were covered in the past, and our Midterm Exam will reflect this. However, we haven’t yet covered gradient descent, which appears on most past Midterm/Midterm 1s but will not appear on ours.

Furthermore, note that different exams were offered in different formats (remote vs. in-person) with different time limits (50 minutes vs. 80 minutes vs. 180 minutes) and different levels of allowed resources (student-created notes sheets allowed vs. instructor-created reference sheets only vs. no notes). In Spring 2024, the Midterm Exam is 80 minutes long, and students are allowed to bring one two-sided index card (4 inches by 6 inches) of notes that they write by hand (no iPad).

To get a rough sense of the format of the exam, you can see this past exam PDF.


📊 Topics

In scope for the Spring 2024 Midterm Exam:

Topics not in scope for the Midterm Exam, but in scope for the Final Exam:


📝 Exams

Quarter Instructor(s) Exam
Winter 2024 Aobo Li Midterm 1
Midterm 2
Final Part 1
Spring 2023 Janine Tiefenbruck Midterm 2
Final Part 1
Fall 2022 Truong Son Hy, Mahdi Soleymani Midterm
Winter 2022 Janine Tiefenbruck Midterm 1
Fall 2021 Suraj Rampure Final
Spring 2021 Janine Tiefenbruck Midterm 1

👋 Feedback: Find an error? Still confused? Have a suggestion? Let us know here.