
MATLAB Christmas
Science
University
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can I get the indices from all values equal to 27 in a matrix M?
M == 27
M = 27
M(M==27)
M(27)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Executing the following code returns:
a = [1:3:10] ;
size(a)
1
[10 1]
[1 4 ]
4
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following statements is correct?
Function 'clear' clears only the scalar variables, but does not clear arrays
Function 'clc' clears all variables
Function 'clc' clears only constants
Function 'clear a' clears all variables of the type array
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following code:
M = [1,2,3; 4,5,6; 7,8,9];
numel(M)
3
3 3 3
9
3 3
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which statement is wrong
ans is automatically created by MATLAB when a calculation is not saved in a variable
ans is created by MATLAB when executing code without a semicolon
ans can have any datatype
ans is a variable name
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The output of cat=[‘cat’ ‘dog’] is
Cat&dog
Cat dog
Catdog
Cat
Dog
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command in MATLAB performs matrix operation on elements?
a’
a.*b
a^3
a_4
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
10 questions
Tonometry - Implications
Quiz
•
University
12 questions
RDBG LO4 LS1-6
Quiz
•
University
10 questions
QUIZ ON SCIENCE 6
Quiz
•
6th Grade - University
20 questions
Topic 5: Stretching Techniques
Quiz
•
University
13 questions
Our Environment
Quiz
•
6th Grade - University
12 questions
IELTS Reading - History of the Steam Engine
Quiz
•
University - Professi...
13 questions
Astronomy Quiziz
Quiz
•
University
10 questions
PHP Quiz
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