Search Header Logo

MATLAB Quiz on Matrices and Loops

Authored by Günel Cabbarlı

Information Technology (IT)

University

Used 2+ times

MATLAB Quiz on Matrices and Loops
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a matrix in MATLAB?

1D array

A loop

2D array of numbers

A string

A cell

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does randi(20, 4, 4) create?

Random 4-element row

A 4x4 matrix of 0s

Random 4x4 matrix with integers from 1 to 20

Identity matrix

Transposed matrix

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of A .* B?

Matrix multiplication

Addition

Element-wise multiplication

Determinant

Transpose

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does A' do in MATLAB?

Deletes A

Copies A

Transposes A

Squares A

Multiplies A by 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used for matrix multiplication?

.*

.^

+

*

//

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function finds the determinant?

mean(A)

sum(A)

det(A)

inv(A)

rank(A)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of A(2,3) for A = [1 2 3; 4 5 6]?

3

4

6

2

Error

Access all questions and much more by creating a free account

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?