midterm exm