midterm for cs 662 9770482