
MATLAB Exam prep
Authored by Kim Xu
Computers
University
Used 66+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Topic 2.1.3
Quiz
•
University
20 questions
Python Recap
Quiz
•
7th Grade - University
20 questions
IT Essential UIUX Chapter 1 & 2
Quiz
•
University
20 questions
Chapter 3: Strategic Initiatives for implementing CA
Quiz
•
University
20 questions
Kiến thức về Thuật toán và Chương trình
Quiz
•
8th Grade - University
20 questions
Chapter 1: Introduction to Computer
Quiz
•
University
20 questions
Artificial Intelligence CT-1
Quiz
•
University
20 questions
Micro Arch - CPUs & Fetch-Execute
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade