review for midterm cos 217 5613372