Midterm exam