
Matlab Quiz
Authored by Günel Cabbarlı
Information Technology (IT)
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
44 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to display the value of a variable in MATLAB?
show
echo
disp
output
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following should not be used as a variable name in MATLAB?
result
sum
test_1
myVar
studentName
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the command input('Enter value: ') do?
Assigns a default value
Displays output
Takes user input
Clears the screen
Converts input to string
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of mod(10, 3)?
3
1
0
10
2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly increases x by 1 in MATLAB?
x++
x += 1
++x
x = x + 1
x := x + 1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the clear command do in MATLAB?
Save a file
Clear the screen
Close the editor
Delete variables
Exit MATLAB
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of value is returned by input('Enter name: ', 's')?
integer
double
logical
char
float
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?