wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ກວດກາ MATLAB

Total questions: 57

Worksheet time: 29mins

Name
Class
Date
1.
A=[1 2 3 4 5];
a)
A is Row Vector
b)
A is Column Vector
2.
A=[1;2;3;4;5];
a)
A is Row Vector
b)
A is Column Vector
3.
floor(14.8) =
a)
14.8
b)
15
c)
14
d)
0.8
4.
A=[14  12  15;
        34  25  35;
        94  51  75;
        40  52  55]
What is the dimension of A ?
a)
4x3
b)
3x4
c)
4x4
d)
3x3
5.
round(14.8) =
a)
14.8
b)
15
c)
14
d)
0.8
6.
A=[14  12  15;
        34  25  35;
        94  51  75;
        40  52  55]
How many elements greater than 14 ?
a)
9
b)
10
c)
11
d)
12
7.
ciel(14.8) =
a)
14.8
b)
15
c)
14
d)
0.8
8.
A=[14  12  15;
        34  25  35;
        94  51  75;
        40  52  55]
How many elements less than 14 ?
a)
1
b)
2
c)
3
d)
4
9.
What is the result of this command
sin(pi/2) + cosd(0)
a)
2
b)
0
c)
1
d)
infinity
10.
A=[1 2 3 4 5];
a)
A is Row Vector
b)
A is Column Vector
11.
A=[1;2;3;4;5];
a)
A is Row Vector
b)
A is Column Vector
12.
A=[14  12  15;
        34  25  35;
        94  51  75;
        40  52  55]
What is the dimension of A ?
a)
4x3
b)
3x4
c)
4x4
d)
3x3
13.
plot(x,y,':b')
the output line will be ?
a)
dashed-blue
b)
dotted-black
c)
dotted-blue
d)
solid-blue
14.

Matlab merupakan singkatan dari...

a)

Mathematic Labour

b)

Mathematic Laboratory

c)

Matrix Laboratory

d)

Matrix Labour

15.

Bentuk operasi yang benar dalam matlab adalah ...

a)

/ , + , x

b)

/ , - , *

c)

+ , - , :

d)

+ , x , *

16.

Transpose untuk matrix A adalah ...

a)
b)
c)
d)
17.

Acorde al orden de procedencia, ¿Cual sería el resultado de la siguiente operación?

2a3a2b+(4b2)12b22a\cdot\frac{3}{a}-2b+\left(\frac{4}{b^2}\right)^{\frac{1}{2}}\cdot b^2  

a)

6+4b

b)

0

c)

6-6b

d)

6

18.

What will print?

a)

4 5 6

b)

6 4 5

c)

nothing

d)

4 6

19.

a)

a)

b)

b)

c)

c)

d)

d)

20.

a)

a)

b)

b)

c)

c)

d)

d)

21.

a)

a)

b)

b)

c)

c)

d)

d)

22.

What will be the output on executing this program?

a)
b)
c)
d)
23.

>> a=cos(30)

a)

a= 0.12

b)

a= 0.187

c)

a= 0.145

d)

a= 0.154

24.
A=[1;2;3;4;5];
a)
A is Row Vector
b)
A is Column Vector
25.

Gambar diatas merupakan tampilan dari ...

a)

Command Windows

b)

Command Prompt

c)

Workspace

d)

Current Folder

26.

Gambar diatas merupakan tampilan dari ...

a)

Command Windows

b)

Command Prompt

c)

Workspace

d)

Current Folder

27.

Perintah untuk membersihkan layar command windows adalah ...

a)

delete

b)

clear

c)

cls

d)

clc

28.

Perintah untuk menampilkan grafik adalah ...

a)

disp

b)

graph

c)

plot

d)

ploting

29.

SOLVE('4-t^2=0')



(a)  

30.

A= 1 2 3

4 5 6

7 8 9

>>A(:,2)=[]

a)

1 3

4 6

7 0

b)

2 3

5 6

8 9

c)

1 3

4 6

7 9

d)

2 3

5 6

8 0

31.

a = 1; sin(a) a = 2;

a)

0.4815

b)

0.8516

c)

0.8415

d)

0.4916

32.

OUTPUT OF A = [0 1; 1 0] ; B=2 ; C = A + B

a)

1 2

4 5

b)

1 4

2 5

c)

ERROR

d)

1 2

5 4

33.

Indicar la representación de la Ecuación en Matlab

a)

P=[1 -9 13 9 -14]

b)

P=[1 9 13 -9 -14]

c)

P=[1 -9 13 -9 -14]

d)

P=[-1 9 13 -9 14]

34.

Find the output :

>>1/(2+3^4 )+4/5*6/7*7/8

a)

0.5506

b)

0.7680

c)

0.8706

d)

0.6680

35.

What will print?

a)

4 5 6

b)

6 5 4

c)

nothing

d)

4 4 4

36.

How many number will print?

a)

5

b)

3

c)

4

d)

0

37.

>>x=[1 2 3];

>>y=[4 5 6]

>>z=x.*y

a)

z=4 10 19

b)

z=4 11 18

c)

z=3 10 18

d)

z=4 10 18

38.

ການສະແດງຄ່າຈຳນວນຈິງ

a)

%c

b)

%e

c)

%f

d)

%r

39.

Save filename ແມ່ນຫຍັງ

a)

ເກັບທຸກຄ່າ ຕົວແປຈາກ workspace ໄວ້ໃນ filernme.net

b)

ເກັບທຸກຄ່າ ຕົວແປຈາກ workspace ໄວ້ໃນ filernme.met

c)

ເກັບທຸກຄ່າ ຕົວແປຈາກ workspace ໄວ້ໃນ filernme

d)

ເກັບທຸກຄ່າ ຕົວແປຈາກ workspace ໄວ້ໃນ filernm.net

40.

Load ແມ່ນຫຍັງ

a)

ເກັບທຸກຄ່າ ຕົວແປຈາກ workspace ໄວ້ໃນ filernme.net

b)

ດຶງຄ່າຕົວແປທຸກໆຕົວ ຈາກຟາຍ matlab.nat

c)

ເກັບທຸກຄ່າ ຕົວແປຈາກ workspace ໄວ້ໃນ filernme

d)

ດຶງຄ່າຕົວແປທຸກໆຕົວ ຈາກຟາຍ matlab.mat

41.

pi ມີຄ່າເທົ່າກັບ

(a)  

42.

abs(x) ແມ່ນຫຍັງ

a)

ຄຳນວນຫາຄ່າສຳບູນ

b)

ຄຳນວນຫາຄ່າສະເລຍ

c)

ຄຳນວນຫາຄ່າຮາກຂັ້ນສອງ

d)

ສະແດງຕົວອັກສອນ

43.

ຄຳສັ່ງທີ່ໃຊ້ໃນການແຕ້ມເສັ້ນສະແດງ

a)

plot(t,temp);

b)

plot(t,temp);

c)

plet(t,temp);

d)

Plot(t,temp);

44.

zeros(n) ແມ່ນຫຍັງ

a)

ເປັນຄຳສັ່ງທີ່ໃຊ້ການສ້າງມາຕິກສູນທີ່ເປັນຮູບສີ່ແຈສາກ mxn

b)

ເປັນຄຳສັ່ງທີ່ໃຊ້ການສ້າງມາຕິກສູນທີ່ເປັນຮູບຈະຕຸລັດຂະຫນາດ nxn

c)

ເປັນຄຳສັ່ງທີ່ໃຊ້ການສ້າງມາຕິກສູນທີ່ເປັນຮູບສາມແຈ່ສາກ nxn

d)

ຖຶກຫມົດ

45.

ຄຳສັ່ງນີ້ ຈະໃຊ້ມາຕິກທີ່ມີຄ່າເປັນ ໜື່ງທັ້ງໝົດຊື້ງເປັນມາຕິກແບບ Rectangula ຂະໜາດ

a)

ones(m , n)

b)

ones(size(A))

c)

ones(n)

d)

ones(m, n)

46.

ຊື່ ອາຈານປະຈຳວິຊາ

(a)  

47.

ວິຊາລະບົບຄວບຄຸມມີຈັກໜ່ວຍກິດ

a)

2

b)

3

c)

4

d)

5

48.

Generate 50 logarithmically-spaced points between 102 and 107

(a)  

49.

What is the symbol for division?

a)

\

b)

/

c)

%

d)

^

50.

x = 2;

if x > 2

y = 2*x;

elseif x < 2

y = 3*x;

else

y = 6*x;

end

What is y?

a)

2

b)

4

c)

6

d)

12

51.

vec = [1 6 20 3 2];

[m, n] = max(vec);

What is the value of n?

a)

5

b)

20

c)

3

d)

2

52.

x = [1 0 0]; y = [0 1 0];

new = 3*sum(x|y)

What is the value of new?

(a)  

53.

for index = 1:2:10

v = index*3;

end

How many iterations of the loop will

this code perform?

a)

3

b)

5

c)

6

d)

12

54.

a = [2; 5; 3; 6; 4];

What is the result of a(3)?

(a)  

55.

mat = [2 1 3; 5 4 6; 7 8 9];

What is in mat(2,1)?

a)

1

b)

2

c)

7

d)

5

56.

x = 2;

while x<7

x = x+3;

end

What is stored in x?

(a)  

57.

Given a = [6 2 4 1]; and

b = 1×4 logical array

1 0 1 0. What is the result of a(b)?

a)

[2 1]

b)

this does not work

c)

[6]

d)

[6 4]