This document contains the answers to a midterm exam for a Math 251 course. It includes 5 pages with 4 questions. Question 1 has multiple choice and short answer math problems. Question 2 evaluates variable names and fixes syntax errors in code. Question 3 involves matrix operations and creating a matrix with specified elements. Question 4 calculates totals from shopping and evaluates expressions. The document provides the solutions to a closed book math exam assessing MATLAB skills.