Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Matlab ISE

Total questions: 40

Worksheet time: 1hrs 5mins

Name
Class
Date
1.

.mlx file belongs to

a)

Matlab Script

b)

Matlab Live Editor Script

c)

Matlab App

d)

None of the mentioned above

2.

The file type used by Matlab app is

a)

.mapp

b)

.mlxapp

c)

.mlapp

d)

.app

3.
What is the result of this command
12 < 14
a)
1
b)
0
c)
12
d)
14
4.
What is the result of this command
3 ^ 2 * 3 ^ 2
a)
81
b)
36
c)
216
d)
6
5.

What will printed on Command window?

a)

4 5 6

b)

6 4 5

c)

nothing

d)

4 6

6.

Which command in MATLAB performs matrix operation on elements?

a)

a’

b)

a.*b

c)

a^3

d)

a_4

7.

MATLAB stands for

a)

Matrix laboratory

b)

Mat laboratory

c)

Maths laboratory

d)

None of these

8.

The basic building block of a matlab is ____

a)

Array

b)

Matrix

c)

Vector

d)

Scalar

9.

A___at the end of the command suppresses the screen outputs

a)

,

b)

:

c)

;

d)

:

10.

The meaning of command clc

a)

Clear command history pane

b)

Clear command window

c)

Clear editor window

d)

Clear current directory pane

11.

The command to delete the 3rd column of matrix A is

a)

A(:,3)=0

b)

A(3,:)=[ ]

c)

A(:,3)=[ ]

d)

None of these

12.
plot(x,y,'--r')
the output line will be ?
a)
dashed-red
b)
dash dotted-red
c)
dotted-red
d)
solid-red
13.
plot(x,y,':b')
the output line will be ?
a)
dashed-blue
b)
dotted-black
c)
dotted-blue
d)
solid-blue
14.
A=[1;2;3;4;5];
a)
A is Row Vector
b)
A is Column Vector
15.

The command prompt will display ?

a)

101

b)

1 x 101

c)

1 x 2

d)

101 x 1

16.

The command prompt will display ?

a)

1101

b)

1 x 101

c)

1 x 2

d)

101 x 1

17.

fprintf and disp do same function in matlab ?

a)

Yes

b)

No

18.

Satvik wish to get the scalar value of the number of the element in the vector . What should he prefer ?

a)

size()

b)

length()

c)

Anyone of size() or length()

d)

Don't know

19.

The variable q represent ?

a)

Phase angle

b)

Frequency of Sinusoidal

c)

Wavelength

d)

Can't Say

20.

The waveform shown represents

a)

AC

b)

DC

c)

Both AC as well as DC

d)

Don't Know

21.

The circuit used to convert AC to DC is

a)

Rectifier

b)

Filter

c)

Capactor

d)

None

22.

Well, Kunal decided to fix plotted sine wave to entire plot window. What should he use?

a)

axis[] ans specify x and y coordinate

b)

axis tight

c)

Both axis[] and axis tight will work

d)

Don't Know

23.

Shriya written following code. What will be displayed on plot window?

a)

Sine wave

b)

Cosine Wave

c)

Half wave rectified wave

d)

Amplified wave

24.

Shichi written following code. What will be displayed on plot window?

a)

Sine wave

b)

Cosine Wave

c)

Half wave rectified wave

d)

Full wave rectified wave

25.

Shlok written following code. What will be displayed on plot window ?

a)

Straight Line

b)

Ramp Wave

c)

Discontinuous Ramp Wave

d)

Error in the code

26.

What is the command to get help of any unknown function?

(a)  

27.

The function for exponential in Matlab is

a)

e

b)

esp

c)

exp

d)

ep

28.

The number of element in the vector p = 1:4 is

a)

3

b)

4

c)

1

d)

2

29.

The colon operator can be used to created unit spaced vector

a)

Yes

b)

No

30.

The vector x = [1;2;3] is

a)

Row vector

b)

Column Vector

c)

Matrix

d)

None of the mentioned

31.

The ' operator in Matlab is used to get

a)

Complement of the Vector

b)

Transpose of the Vector

c)

Find max of the vector

d)

Find min of the vector

32.

Let us assume x = [1:4]; The result of operation y = x' will give

a)

Error

b)

[1,2,3,4]

c)

[1;2;3;4]

d)

None of the Mentioned

33.

The result of following operation will be

a)

Matrix Multiplication of the two vector

b)

Element to Element Multiplication of two vector

c)

Error

d)

Can't Say anything

34.

To extract array of 3 element from 4 x 4 matrix. Which of the below code will do this operation. Assume A as 4 x 4 matrix and y is sub-array.

a)

A(1 , ;)

b)

A (3, [1 2])

c)

A (2, [1 2 3])

d)

A (2, 1:end)

35.

The function to generate transfer function in s-domain based on denominator and Numerator is

(a)  

36.

The function used to clear command window is

(a)  

37.

The function to clear all variables from the current workspace

(a)  

38.

The function used to deletes all figures is

(a)  

39.

The function that allow Plot multiple figures in one window is

a)

Use multiple plot function

b)

use Subplot

c)

Both Subplot and plot function together

d)

None of the mentioned

40.

linspace(a,b) will generate how many linearly spaced element.

(a)