1. What does “Matlab” stand for?
A. Math Laboratory
B. Matrix Laboratory
C. Mathworks
D. None of the above
Answer: B
2. What symbol precedes all comments in Matlab?
A. “
B. %
C. //
D. None of the above
Answer: D
3. Which of the following is not pre-determined variable in Mathlab?
A. Pi
B. Inf
C. I
D. Gravity
Answer: D
4. This Matlab command clears all data and variables stored in memory.
A. clc
B. Clear
C. Delete
D. Deallocate
Answer: B
5. Characters in Mathlab are represented in their value in memory.
A. Decimal
B. ASCII
C. Hex
D. String
Answer: B
6. Which of these is not an aspect of a for/while loop?
A. Update
B. Initialization
C. Runner
D. Condition
Answer: C
7. To better manage memory and prevent unnecessary memory allocations, Matlab uses:
A. Vectors
B. Scalars
C. Matrix math
D. Delayed copy
Answer: D
8. To print a newline in a fprint statement, you must use the following escape character:
A. \t
B. \nl
C. \nxt
D. \n
Answer: D
9. In Matlab, this keyword immediately moves to the next iteration of the loop.
A. Update
B. goto
C. continue
D. break
Answer: C
10. Which of the following will correctly define x, y, and z as symbols?
A. sym (x, y, z)
B. syms x y z
C. syms x, y, z
D. sym x, y, z
Answer: B
11.