Midterm 1 Preparation

Midterm 1 will be held on Wednesday March 20th, 7:00-9:00 pm. Unless you have made alternative arrangements via the DSP, the room location will be determined by the last two digits of your SID:

  • 00-32: Dwinelle 155
  • 33-45: Genetics and Plant Biology 100
  • 46-62: Hearst Annex A1
  • 63-99: Pimentel 1

Midterm 1 will cover material from lectures 1-15, HW1-7, Section 1-6, P1-3. Note that exam questions will in many cases ask you to extend or combine basic ideas and algorithms from class. Make sure you understand the fundamentals in addition to being able to procedurally execute algorithms. The exam will not test your knowledge of Python, however questions may assume familiarity with the projects (see past exams for examples).

The midterm will be closed notes, books, laptops, and people. However, you may use a one-page (two-sided) cheat sheet of your own design (group design ok but not recommended).

Practice Midterm 1 is available here. This is meant for you to simulate exam environment and help assess where you are at. It is optional. You are able to earn 1pt of extra credit on Midterm 1 by appropriately completing it by its deadline: 11:59pm on Monday March 18th.

In addition to regular office hours, we will be holding midterm review sessions during the normal discussion section slots. There will be 5 types of review session, each covering one week's worth of materials through some review and then a past exam question on that week's topic. You can attend as many as you like. Schedule listed below.


Review Sessions


Topic Time Location GSI
Logic Tuesday, 9-10 Wheeler 130 Katie
CSP Tuesday, 11-12 Dwinelle 182 Xiaocheng
Search Tuesday, 11-12 Moffitt Library 103 Laura
Search Tuesday, 12-1 Etcheverry 3105 Ellen
RL Tuesday, 12-1 Moffitt Library 150D Avi
Logic Tuesday, 12-1 Soda 310 Rachel
CSP Tuesday, 2-3 Etcheverry 3105 Tony
Logic Tuesday, 2-3 Wheeler 130 Aditya
Search Tuesday, 3-4 Barrows 185 Ronghang/Dequan
RL Tuesday, 3-4 Etcheverry 3113 Murtaza
RL Tuesday, 4-5 Moffitt Library 150D Wilson
Search Tuesday, 4-5 Wheeler 224 Ronghang/Dequan
Game Tuesday, 4-5 Soda 405 Micah
CSP Wednesday, 9-10 Dwinelle 242 Frederik
Game Wednesday, 9-10 Wheeler 30 Michael
Game Wednesday, 9-10 Hearst Field Annex B1 Austen
CSP Wednesday, 10-11 Etcheverry 3113 Simin
Search Wednesday, 2-3 Moffitt Library 150D Rishi
Logic Wednesday, 2-3 Latimer 105 Henry
RL Wednesday, 3-4 Hearst Field Annex B1 Adam
Game Wednesday, 3-4 Evans 3 Dennis
Game Wednesday, 3-4 Etcheverry 3119 Charles
CSP Wednesday, 4-5 Evans 9 Alex
RL Wednesday, 4-5 Wheeler 130 Jason

Past Exams


Semester Midterm 1/Midterm Midterm 2 Final
Fall 2018 Midterm (solutions) Final (solutions)
Fall 2017 Midterm 1 ( solutions ) Midterm 2 ( solutions ) Final ( solutions )
Spring 2017 Midterm ( solutions ) Final ( solutions )
Fall 2016 Midterm 1 ( solutions ) Midterm 2 ( solutions ) Final with solutions
Summer 2016 Midterm 1 ( solutions ) Midterm 2 ( solutions ) Final ( solutions )
Spring 2016 Midterm ( solutions ) Final ( solutions )
Summer 2015 Midterm 1 ( solutions ) Midterm 2 ( solutions ) Final ( solutions )
Spring 2015 Midterm 1 ( solutions ) Midterm 2 ( solutions ) Final ( solutions )
Fall 2014 Midterm ( solutions ) Final ( solutions )
Summer 2014 Midterm ( solutions ) Final ( solutions )
Spring 2014 Midterm 1 ( solutions ) Midterm 2 ( solutions ) Final ( solutions )
Fall 2013 Midterm 1 ( solutions ) Midterm 2 ( solutions ) Final ( solutions )
Spring 2013 Midterm 1 ( solutions ) Midterm 2 ( solutions ) Final ( solutions )
Fall 2012 Midterm 1 ( solutions ) Midterm 2 ( solutions ) Final ( solutions )
Spring 2012 Midterm 1 ( solutions ) Midterm 2 ( solutions ) Final ( solutions )
Fall 2011 Midterm ( solutions ) Final ( solutions )
Spring 2011 Midterm ( solutions ) Final ( solutions )

Note that in previous years, topics were covered in varying orders, and so the midterm topics do not align perfectly.

You can also look at much older exams from other versions of the class, but be aware that the syllabus has changed over time.