Matlab MCQ Questions

Matlab MCQ Questions

  • Sharad Jaiswal
  • 25th Nov, 2021

We have listed below the best Matlab MCQ Questions for your basic knowledge of Matlab. This Matlab MCQ Test contains 35+ Matlab Multiple Choice Questions. You have to select the right answer to every question.

Matlab MCQ Questions

1) Stop execution of a command in MATLAB?

  • A. ctrl+b
  • B.ctrl+s
  • C.ctrl+c
  • D.ctrl+v

2) Use of ABS function in MATLAB?

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

3) A memory for sparse matrix is dedicated by______

  • A. spalloc command
  • B.allocspar command
  • C.sparsealloc command
  • D.Both A & B

4) Matlab to store the complex number in which class?

  • A. array
  • B.symbolic
  • C.Double
  • D.character

5) What does Matlab stand for?

  • A. Mathworks
  • B.Math Laboratory
  • C.Matrix Laboratory
  • D.none of the above

6) Matlabs command clears all data and varriable

  • A. clc
  • B.clx
  • C.clear
  • D.delete

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

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

8) Matlab are represented in their value in memory?

  • A. hex
  • B.ASCII
  • C.string
  • D.decimal

9) What does MatLab consist of?

  • A. Handle Graphics
  • B.MatLab Language
  • C.MatLab working environment
  • D.All of the above

10) MATLAB command to add a comment.

  • A. %
  • B.;
  • C.&
  • D.comment(' ')

11) Which of the following is used to see if two elements are equal in MATLAB?

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

12) num2str command is:

  • A. concatenates strings
  • B.converts a number to string
  • C.converts string to a number
  • D.concatenates numbers and strings

13) MATLAB start with an array.

  • A. 0
  • B.1
  • C.Unknown
  • D.None of these

14) Which character is used to print new line in a fprintf statement?

  • A. \n
  • B.\n\
  • C.\nl
  • D.\nml

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

  • A. Pwd
  • B.Who
  • C.Type
  • D.Date

16) MATLAB 9.7 R2019b released

  • A. June 2019
  • B.July 2019
  • C.Aug 2019
  • D.Sep 2019

17) What is the return type of angles function in MATLAB ?

  • A. Radians & Degrees
  • B.Radians
  • C.Degrees
  • D.None of these

18) Which is these is not an aspect of a for/while loop:

  • A. Runner
  • B.Update
  • C.Condition
  • D.Initialization

19) What symbol precedes all comments in Matlab?

  • A. %
  • B.#
  • C.@
  • D.None of these

20) Which of the following is a switch case structure?

  • A. Hierarchical structure
  • B.Multidimensional structure
  • C.Logical structure
  • D.Conditional structure

21) Features of Matlab?

  • A. Platform Independent
  • B.Full Graphics Capabilities
  • C.Use & Good Source of He
  • D.All of the above

22) Legal MATLAB variable names are:

  • A. MyScore1, student1_ID
  • B.myTime, 1stVar
  • C.2nd_Var, my_currency
  • D.year-2012, time

23) Which of the following MATLAB expression gives -1.

  • A. cosd(pi)
  • B.sin(-pi/2)
  • C.cos(180)
  • D.sind(3*pi/2)

24) Matlab uses manage memory and prevent unnecessary memory allocations.

  • A. scalars
  • B.delayed copy
  • C.matrix
  • D.vectors

25) Immediately moves to the next iteration of the loop:

  • A. goto
  • B.update
  • C.break
  • D.continue

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.