comp3710 midterm