programming language midterm review