
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
39 questions
Kiren Styles

Quiz
•
University
45 questions
Lines and Faces MCHE

Quiz
•
University
40 questions
IED - 2024

Quiz
•
10th Grade - University
40 questions
FUEE_ELECTRIC LIGHTING

Quiz
•
University
37 questions
ELECTRICAL ENGINEERS PRE-BOARD EXAMINATION AUGUST 2012

Quiz
•
University
39 questions
Piping Systems and Components Quiz

Quiz
•
University
35 questions
AutoCAD Certified User Practice Quiz 2

Quiz
•
11th Grade - University
35 questions
ROBOTC Natural Language Quiz

Quiz
•
11th Grade - University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade