Q.1
Which of the following contains the memory for the virtual address space given to MATLAB? [p,q]=memory
  • a) Error
  • b) p
  • c) There’s no virtual space for MATLAB
  • d) q
Q.2
The function handle given to the timeit command cannot be defined within the timeit function.
  • a) True
  • b) False
Q.3
The timeit function returns the time in ms.
  • a) True
  • b) False
Q.4
What is the output of the following code? syms x; timeit(@()sin(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
Q.5
What is the output of the following code? syms x; timeit(@sin(x))
  • a) Syntactical Error
  • b) Logical Error
  • c) .0012
  • d) .0016
Q.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
Q.7
Is a==c? >>a=timeit(@()sin(x)); >>b=cputime; >>sin(x); >>c=cputime-b;
  • a) No
  • b) Yes
  • c) Almost
  • d) Error
Q.8
What is the output of the following code? a=timeit(()sin(x));
  • a) Error
  • b) .0012s
  • c) 12ms
  • d) .0016s
Q.9
The amount of memory saved for swap files is more than the physical memory allotted for MATLAB.
  • a) True
  • b) False
Q.10
The tick command starts a timer.
  • a) True
  • b) False
0 h : 0 m : 1 s