wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MATLAB 2EEE ກວດກາ

Total questions: 69

Worksheet time: 51mins

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.
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
4.
5*2^2*5 =
a)
100
b)
300
c)
500
d)
1000
5.
What is the result of this command
3 ^ 2 * 3 ^ 2
a)
81
b)
36
c)
216
d)
6
6.
What is the result of this command
sin(pi/2) + cosd(0)
a)
2
b)
0
c)
1
d)
infinity
7.
plot(x,y,'--r')
the output line will be ?
a)
dashed-red
b)
dash dotted-red
c)
dotted-red
d)
solid-red
8.
plot(x,y,':b')
the output line will be ?
a)
dashed-blue
b)
dotted-black
c)
dotted-blue
d)
solid-blue
9.

Transpose untuk matrix A adalah ...

a)
b)
c)
d)
10.

Perintah untuk membersihkan layar command windows adalah ...

a)

delete

b)

clear

c)

cls

d)

clc

11.

Perintah untuk menghapus data di workspace yang tidak akan digunakan lagi dalam program adalah ...

a)

delete

b)

clear

c)

cls

d)

clc

12.

>>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

13.

Bentuk operasi yang benar dalam matlab adalah ...

a)

/ , + , x

b)

/ , - , *

c)

+ , - , :

d)

+ , x , *

14.

Matlab merupakan singkatan dari...

a)

Mathematic Labour

b)

Mathematic Laboratory

c)

Matrix Laboratory

d)

Matrix Labour

15.

a)

a)

b)

b)

c)

c)

d)

d)

16.

a)

a)

b)

b)

c)

c)

d)

d)

17.

12 x 12 =

a)

134

b)

148

c)

144

18.

19 + 6

a)

20

b)

25

c)

23

19.

To allocate the following output the command would be

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

a)

t=round([1.2:10])

b)

t=round([0.8:1:10])

c)

t=[1;9]

d)

t=[1:10]

20.

Care va fi valoarea expresiei după execuție 6 + 6 * 6 - 4?

a)

ans = 38

b)

ans = 68

c)

ans = 18

d)

ans = 88

21.

The matlab command to find 2^2(two square)is

a)

2*2

b)

2+2

c)

2^2

d)

2/2

22.
Name the order of this matrix.
a)
6x2
b)
2x6
c)
12
d)
36
23.

What will be the output on executing this program?

a)
b)
c)
d)
24.
floor(14.8) =
a)
14.8
b)
15
c)
14
d)
0.8
25.
floor(14.8) =
a)
14.8
b)
15
c)
14
d)
0.8
26.
what is the output of this command
5 < 9  
a)
5
b)
9
c)
1
d)
0
27.
What is the result of this command
12 < 14
a)
1
b)
0
c)
12
d)
14
28.
What is the result of this command
sin(pi/2) + cosd(0)
a)
2
b)
0
c)
1
d)
infinity
29.

disp(A) ແມ່ນຄຳສັ່ງຫຍັງ?

a)

ສະແດງລາຍລະອຽດຂອງອາເຣ A

b)

ສະແດງຕົວອັກສອນຕ່າງໆທີ່ເປັນຂອງ A

c)

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

d)

ຜິດຫມົດ

30.

ການສະແດງຕົວເລກກຳລັງຄຶ

a)

%c

b)

%e

c)

%f

d)

%r

31.

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

a)

%c

b)

%e

c)

%f

d)

%r

32.

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

a)

%c

b)

%e

c)

%f

d)

%r

33.

Save filename ແມ່ນຫຍັງ

a)

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

b)

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

c)

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

d)

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

34.

Load ແມ່ນຫຍັງ

a)

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

b)

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

c)

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

d)

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

35.

Load ແມ່ນຫຍັງ

a)

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

b)

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

c)

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

d)

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

36.

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

(a)  

37.

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

a)

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

b)

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

c)

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

d)

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

38.

ຄຳສັ່ງທີ່ໃຊ້ໃນການຫາຄ່າໄຕມູມມິຕິມີຫຍັງແດ່

a)

tin(x)

b)

xos(x)

c)

can(x)

d)

ຜິດຫມົດ

39.

ຄຳສັ່ງທີ່ໃຊ້ໃນການຫາຄ່າໂລກະລິດ

a)

log(x)

log10(x)

b)

log(10)

log(x)

c)

log(x)

log10

d)

ຜິດຫມົດ

40.

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

a)

plot(t,temp);

b)

plot(t,temp);

c)

plet(t,temp);

d)

Plot(t,temp);

41.

ການສ້າງອາເຣທີ່ມີເຄື່ອງໝາຍ Colon(:) ມີຈັກແບບ

a)

2

b)

3

c)

4

d)

5

42.

ການສ້າງອາເຣທີ່ມີເຄື່ອງໝາຍ Colon(:) ມີຈັກແບບ

a)

ຕົວແປ = begin : end

ຕົວແປ = A(row , : )

b)

ຕົວແປ = begin : increment(+)

c)

ຕົວແປ = A( : , )

d)

ຖຶກຫມົດ

43.

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

a)

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

b)

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

c)

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

d)

ຖຶກຫມົດ

44.

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

a)

ones(m , n)

b)

ones(size(A))

c)

ones(n)

d)

ones(m, n)

45.

ຄຳສັ່ງທີ່ໃຊ້ໃນການຕັ້ງຊື່ຫົວຂໍ້ຂອງເສັ້ນກາບ

a)

title(‘text’)

b)

title(x,y,’text’)

c)

text(x,y,’text’)

d)

gtext(‘text’)

46.

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

(a)  

47.

ເບີໂທຕິດຕໍ່ ອາຈານປະຈຳວິຊາ

(a)  

48.

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

a)

2

b)

3

c)

4

d)

5

49.
What is the result of this command
12 < 14
a)
1
b)
0
c)
12
d)
14
50.
floor(14.8) =
a)
14.8
b)
15
c)
14
d)
0.8
51.
ciel(14.8) =
a)
14.8
b)
15
c)
14
d)
0.8
52.
what is the output of this command
5 < 9  
a)
5
b)
9
c)
1
d)
0
53.

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

54.

What will print?

a)

4 5 6

b)

6 4 5

c)

nothing

d)

4 6

55.

What will print?

a)

4 5 6

b)

6 5 4

c)

nothing

d)

4 4 4

56.

How many number will print?

a)

5

b)

3

c)

4

d)

0

57.

How many numbers will print?

a)

0

b)

5

c)

11

d)

15

58.

What command clears all variables in workspace browser?

a)

clc

b)

delete

c)

clf

d)

clear

59.

What pre-defined constant in MATLAB that represents square root of -1?

a)

i,j

b)

eps

c)

NaN

d)

ans

60.

Instrucciones para desplegar los string que estan junto a la estrellita rosa.

a)

plt.ylabel('Month Number')

plt.xlabel('Sales units in number')

b)

plt.title('Month Number')

plt.title('Sales units in number'')

c)

plt.xlabel('Month Number')

plt.ylabel('Sales units in number')

d)

plt.label('Month Number')

plt.label('Sales units in number')

61.

¿Función que si no la añadimos en el programa no muestra la gráfica?

a)

plt.bar(list_m, list_p)

b)

plt.show()

c)

plt.plot(list_m, list_p)

62.

Instrucciones para desplegar los string que esta marcado en la parte superior de la gráfica

a)

plt.xlabel('bathingsoap sales data')

b)

plt.ylabel('bathingsoap sales data')

c)

plt.title('bathingsoap sales data')

d)

plt.legend('bathingsoap sales data')

63.

Create a matrix of 3x3 random numbers, called R

(Uniformly distributed numbers between 0 and 1)

(a)  

64.

What will be the output on executing this program?

a)
b)
c)
d)
65.

What will be the output on executing this program?

a)
b)
c)
d)
66.

A software tool used for data analysis and interfaces.

a)

Robot Operating System

b)

Python

c)

C++

d)

Matlab

67.

The Arduino microcontroller uses a programming language based on _____.

a)

C

b)

Phython

c)

ROS

d)

Matlab

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