NEW
Font size
S
M
L
XL
WorksheetsMATLAB 2
Total questions: 10
Worksheet time: 5mins
Name
Class
Date
1.
What is the result of this command
12 < 14
12 < 14
a)
1
b)
0
c)
12
d)
14
2.
What is the result of this command
3 ^ 2 * 3 ^ 2
3 ^ 2 * 3 ^ 2
a)
81
b)
36
c)
216
d)
6
3.
What is the result of this command
sin(pi/2) + cosd(0)
sin(pi/2) + cosd(0)
a)
2
b)
0
c)
1
d)
infinity
4.
What is the result of this command
mod(100,5) + rem(100,5)
mod(100,5) + rem(100,5)
a)
0
b)
1
c)
100
d)
5
5.
A=[14 12 15;
34 25 35;
94 51 75;
40 52 55]
How many elements less than 50 ?
34 25 35;
94 51 75;
40 52 55]
How many elements less than 50 ?
a)
7
b)
8
c)
6
d)
9
6.
A=[14 12 15;
34 25 35;
94 51 75;
40 52 55]
How many even numbers in A?
34 25 35;
94 51 75;
40 52 55]
How many even numbers in A?
a)
6
b)
7
c)
8
d)
9
7.
A=[14 12 15;
34 25 35;
94 51 75;
40 52 55]
sort(A), will sort A in what order ?
34 25 35;
94 51 75;
40 52 55]
sort(A), will sort A in what order ?
a)
columns-ascending
b)
columns-descending
c)
rows-ascending
d)
columns-descending
8.
A=[14 12 15;
34 25 35;
94 51 75;
40 52 55]
sort(A,2), will sort A in what order ?
34 25 35;
94 51 75;
40 52 55]
sort(A,2), will sort A in what order ?
a)
columns-ascending
b)
columns-descending
c)
rows-ascending
d)
columns-descending
9.
plot(x,y,'--r')
the output line will be ?
the output line will be ?
a)
dashed-red
b)
dash dotted-red
c)
dotted-red
d)
solid-red
10.
plot(x,y,':b')
the output line will be ?
the output line will be ?
a)
dashed-blue
b)
dotted-black
c)
dotted-blue
d)
solid-blue
Reset
