Search Header Logo

Exam3 Review

Authored by Emma Nagy

Architecture

University

Used 2+ times

Exam3 Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • Ungraded

Do you plan on taking the final exam?

yes

most likely yes

most likely no

no

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The following line is run in matlab: a = dir()

What is contained in the variable a?

a cell array containing all filenames from the current directory

a structure with fieldnames: name, folder, date, bytes, isdir, datenum

a cell array with headers: name, folder, date, bytes, isdir, datenum

nothing, it just opens all files in the directory

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

how would you loop through a structure?

Media Image
Media Image
Media Image
Media Image

4.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Media Image

A structure contains a field called tvShow containing strings and ratings containing doubles. A loop is created to make a cell array of the tvShows that have ratings higher than 3. Fill in the missing line of code:

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

how do you read in an image?

fopen()

read()

imread()

imopen()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

when you use the rgb2gray function to grayscale and image, what do you get in return?

3D array of grayscaled image

2D array of grayscaled image

1D array of grayscaled image

a new file containing the grayscaled image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

how do you concatenate three arrays on top of each other to create an image?

Media Image
Media Image
Media Image
Media Image

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?