30th
Jul
Matlab MCQ

Matlab MCQ

  • Admin
  • 30th Jul, 2020
  • 603 Followers

Matlab MCQ Quiz

1) In Matlab, (.*) is used for ___.

  • A. multiplying two Arrays
  • B. adding two Arrays
  • C. Both A and B
  • D. None of the above

2) Which is the invalid variable name in matlab?

  • A. x6
  • B. n_factorial
  • C. 6x
  • D. lastValue

3) Can we have multiple 3D plots in Matlab?

  • A. Yes
  • B. No

4) What is matlab?

  • A. Programming platform
  • B. Operating System
  • C. Mobile Os
  • D. First Computer

5) Matlab stands for __.

  • A. Matrix laboratory
  • B. Matrix line
  • C. Multi laboratory
  • D. None of the above
Download Free : Matlab MCQ PDF

6) What will be the output of atan2(-1 1) in Matlab?

  • A. -π/4
  • B. -2π/4
  • C. -π/2
  • D. All of the above

7) Which function is used to displays the value of the variable in Matlab?

  • A. disp(var_name)
  • B. dis(var_name)
  • C. abs(var_name)
  • D. None of the above

8) Which command in Matlab gives list of user-created variables with dimensions?

  • A. who -file filename
  • B. who global
  • C. who
  • D. None of the above

9) Which of the following calculations in Matlab would return the value 1?

  • A. 2/2*1
  • B. 1+4/5
  • C. 3^2/3*3
  • D. None of the above

10) Matlab command clear x y is used for?

  • A. for clearing only variables x and y
  • B. for clearing only variables x, y and z
  • C. for clearing all variables
  • D. None of the above

11) What is the correct way to add comments in Matlab?

  • A. use of / symbol
  • B. use of * symbol
  • C. use of $ symbol
  • D. use of % symbol

12) Is gravity is a pre-defined variable in matlab?

  • A. Yes
  • B. No

13) Which class in Matlab is used to store the complex number?

  • A. Complex
  • B. Double
  • C. Character
  • D. None of the above

14) Which of the following is not a pre-defined variable in Matlab?

  • A. pi
  • B. inf
  • C. i
  • D. gravity

15) Index of an Array in Matlab starts with __.

  • A. 1
  • B. Both A and B
  • C. All of the above

16) What is the use of abs function in Matlab?

  • A. returns the square root of number.
  • B. returns magnitude of a number.
  • C. returns power of number
  • D. None of these

17) __ is used to check if two elements are equal in Matlab?

  • A. !=
  • B. ==
  • C. isequal
  • D. =

18) What is the return type of angles function in Matlab?

  • A. Degrees
  • B. Radians
  • C. Radians & Degrees
  • D. Depends on the argument

19) Which of the following command lists the current variable in Matlab?

  • A. who
  • B. which
  • C. Type
  • D. PWD

20) Which data type is not available in Matlab?

  • A. ilaplace
  • B. int16
  • C. int32
  • D. All of the above

21) What symbol precedes all comments in Matlab?

  • A. %
  • B. $
  • C. @
  • D. None of the above

22) What does the command clc do in Matlab?

  • A. Clear all text from the Command Window.
  • B. Shows all text on the Command Window.
  • C. Both A and B
  • D. None of the above

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Dec
Laravel MCQ
01st
Dec
React JS MCQ
01st
Jan
AngularJs MCQ
01st
Jul
Node js MCQ
01st
Jul
Angular 2 MCQ
01st
Jul
JSON MCQ