Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MATLAB Quiz 1

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

The created or imported variables are placed in the _________

a)

command window

b)

workspace

c)

editor

d)

script file

2.

What is the answer for

50^(1/2)+40^0.2

a)

7.5221

b)

10.1623

c)

9.1623

d)

27.0912

3.

125 is divided by 3. The answer is written as 41.667. What is the display format of this number?

a)

format long

b)

format short e

c)

format short

d)

format short g

4.

What is the correct command to find square root of any number, x.

a)

square rt (x)

b)

sqrt(x)

c)

Sqrt x

d)

sqrtx

5.

How do we assign a value to a variable

a)

x=0.5

b)

x=1-0.5

c)

x=1/2

d)

All of above

6.

What is the correct rule for defining a variable?

a)

must begin with a letter

b)

must not exceed 3 characters

c)

can contain comma or semicolon

d)

AB and ab are the same variables

7.

Where does the error message being displayed in MATLAB?

a)

workspace

b)

command window

c)

editor

d)

script file

8.

What does the 'clear' command do?

a)

remove all variables from workspace

b)

remove all variables from memory

c)

remove all variables from file

d)

remove all variables from system

9.

how do write  π\pi  in MATLAB

a)

pi

b)

phi

c)

pie

d)

pai

10.

what is  π3\frac{\pi}{3}  in format short?



a)

1.0471

b)

1.047

c)

1.047197551196598

d)

1.0471975511