0% found this document useful (0 votes)
106 views2 pages

Essential Matlab Quiz Questions

The document is a quiz about Matlab fundamentals. It contains 11 multiple choice questions testing knowledge of basic Matlab concepts such as what Matlab stands for, predefined variables, commands for clearing memory and printing, loops, and defining symbolic variables. The answers provided are: B) Matrix Laboratory, B) %, D) Gravity, B) Clear, B) ASCII, C) Runner, D) Delayed copy, D) \n, C) continue, and B) syms x y z.

Uploaded by

Jevan Calaque
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views2 pages

Essential Matlab Quiz Questions

The document is a quiz about Matlab fundamentals. It contains 11 multiple choice questions testing knowledge of basic Matlab concepts such as what Matlab stands for, predefined variables, commands for clearing memory and printing, loops, and defining symbolic variables. The answers provided are: B) Matrix Laboratory, B) %, D) Gravity, B) Clear, B) ASCII, C) Runner, D) Delayed copy, D) \n, C) continue, and B) syms x y z.

Uploaded by

Jevan Calaque
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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.

You might also like