
ECE404L - LONG QUIZ

Quiz
•
Engineering
•
University
•
Hard
Ted Tose
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is an M-file in MATLAB?
A file containing MATLAB commands and instructions
A file containing only comments
A file containing only functions
A file containing only scripts
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the extension of an M-file in MATLAB?
.mat
.m
.ml
.matlab
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which symbol is used for comments in MATLAB?
#
//
%
$
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the output of the following script? cost = 50; profit = 10; sale_price = cost + profit
50
10
60
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following is true about function files in MATLAB?
They do not return any value
They can have one or more arguments
They cannot contain comments
They are easier to write than scripts
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What does the following function calculate? function area(r) area = pi * r^2
The circumference of a circle
The area of a circle
The volume of a sphere
The perimeter of a rectangle
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which loop is used in the following script? for n = 1:10 x(n) = n^2; end
While loop
For loop
Do-while loop
Infinite loop
Create a free account and access millions of resources
Similar Resources on Wayground
44 questions
Industry robotik 2

Quiz
•
University
43 questions
Introduction to Software Engineering Quiz

Quiz
•
University
35 questions
MongoDB Quiz

Quiz
•
University
40 questions
Cloud Computing Quiz - Basic 01 to Basic 02

Quiz
•
University
40 questions
đoàn kết tốt, kỷ luật tốt

Quiz
•
University
40 questions
UJIAN AKHIR SEMESTER - DPK X TKTL

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University