Performance and Memory – 2 MCQ’s

Electronics & Communication Engineering MATLAB

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Performance and Memory – 2″.

1. Which of the following contains the memory for the virtual address space given to MATLAB?


a) Error
b) p
c) There’s no virtual space for MATLAB
d) q

2. The timeit function returns the time in ms.
a) True
b) False

3. The function handle given to the timeit command cannot be defined within the timeit function.
a) True
b) False

4. What is the output of the following code?

syms x;

a) Syntactical Error
b) Logical Error
c) .0012
d) .0016

5. What is the output of the following code?

syms x;

a) The time required to compute the value of a sin(x)
b) Error due to sin(x)
c) Syntactical Error
d) Time required to initialize sin(x) as a vector of symbolic elements

6. Which of the following method increases the performance of operation?
a) Preallocation
b) Postallocation
c) It’s not possible to increase performance
d) Characterization

7. What is the output of the following code?


a) Error
b) .0012s
c) 12ms
d) .0016s

8. Is a==c?


a) No
b) Yes
c) Almost
d) Error

9. The tick command starts a timer.
a) True
b) False

10. The amount of memory saved for swap files is more than the physical memory allotted for MATLAB.
a) True
b) False

Leave a Reply

Your email address will not be published. Required fields are marked *