ECE404L - LONG QUIZ

ECE404L - LONG QUIZ

University

40 Qs

quiz-placeholder

Similar activities

Quiz Wizard

Quiz Wizard

University

35 Qs

USEK 2025 TKL (PLC,IML,IPL dan ITL)

USEK 2025 TKL (PLC,IML,IPL dan ITL)

11th Grade - University

40 Qs

Bridges: Engineering Marvels

Bridges: Engineering Marvels

10th Grade - University

35 Qs

COMPOSICION CORPORAL

COMPOSICION CORPORAL

University

42 Qs

QUIZ (PART I) - BSCE 1G (1)

QUIZ (PART I) - BSCE 1G (1)

University

41 Qs

Pre-Engineering Quiz Competition

Pre-Engineering Quiz Competition

University

40 Qs

CivilSphere Insights Quizzes

CivilSphere Insights Quizzes

University

40 Qs

Network Fundamentals Quiz

Network Fundamentals Quiz

University

35 Qs

ECE404L - LONG QUIZ

ECE404L - LONG QUIZ

Assessment

Quiz

Engineering

University

Practice Problem

Hard

Created by

Ted Tose

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?