MATLAB Exam prep

Quiz
•
Computers
•
University
•
Medium
Kim Xu
Used 60+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the symbol for division?
\
/
%
^
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
x = 2;
if x > 2
y = 2*x;
elseif x < 2
y = 3*x;
else
y = 6*x;
end
What is y?
2
4
6
12
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
vec = [1 6 20 3 2];
[m, n] = max(vec);
What is the value of n?
5
20
3
2
4.
FILL IN THE BLANK QUESTION
30 sec • 5 pts
What is the result of
mod(25,6)?
5.
FILL IN THE BLANK QUESTION
1 min • 5 pts
x = [1 0 0]; y = [0 1 0];
new = 3*sum(x|y)
What is the value of new?
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
for index = 1:2:10
v = index*3;
end
How many iterations of the loop will
this code perform?
3
5
6
12
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
sum([1; 5; 3; 3; 7])
5
7
19
5
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
C Programming Unit-1 Test-2

Quiz
•
University
20 questions
Team X 2020

Quiz
•
1st Grade - Professio...
21 questions
Ôn tập cuối kì Đông. Python

Quiz
•
10th Grade - University
20 questions
Code Junction 4

Quiz
•
University
20 questions
Python Programming Quiz

Quiz
•
9th Grade - University
20 questions
EST102 : PROGRAMMING IN C TEST 1

Quiz
•
University
20 questions
MatLab_level_1

Quiz
•
University
20 questions
AlgoProg - Review Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade