midterm exam cs 252 3749312