The CS106X Midterm is Thursday February 23rd from 7pm to 9pm.

The exam will be in 370-370:

The exam is open book, open notes, closed computer.

Thur, Feb. 23rd
Midterm Review Session
Mon, Feb. 20th
Room TBA


The midterm covers the material presented in class through the lecture on Wednesday, Feb. 15th. Specifically you will be responsible for:

  1. Functions and Pass by Reference
  2. Big O
  3. Use of Collections (Maps, Sets, Stacks, Queues, Vectors and Grids)
  4. Recursion (Definition and Fractals)
  5. Recursive Exploration and Backtracking
  6. Structs and Classes
  7. Linked Lists

The bulk of the midterm will be build on the concepts you covered in the assignments you have completed up to this point in the course (Fauxtoshop, WordLadder/Ngrams/Cipher, Recursion, Backtracking).

We put together handouts on the topics which we will expect you to know:


Exams are exciting, and a good chance to learn. Sometimes they can feel competitive. Remember though that in the long term you aren't competing against the other people in the classroom. In fact they will probably be your team mates in the post Stanford world. The only race is with yourself. We don't curve the exam. If everyone does a great job of demonstrating that they understand the material, everyone will get a better grade.

Here is a printable handout with a complete list of all CS106X library functions you may find useful on the exam and a handout on exam strategies: