midterm review and arrays 471105