Search Header Logo
Matlab Fun

Matlab Fun

Assessment

Flashcard

Science

1st - 6th Grade

Practice Problem

Easy

Created by

Halah Latheef

Used 2+ times

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

x = 5;

if x = 10

disp('X is 10!');

end

Back

Nice try!" 🤡

2.

FLASHCARD QUESTION

Front

MyVar = 10;

disp(myvar);

Back

Sorry, never heard of myvar!"

3.

FLASHCARD QUESTION

Front

A = [10, 20, 30];

disp(A(0));

Back

"Bruh, where is index 0?!" 🤔

4.

FLASHCARD QUESTION

Front

A = [1+2i, 3+4i];

B = A';

Do you get [ 1+2i 3+4i ] or [ 1-2i 3-4i ]?

Back

"I fixed your complex numbers for you!"

5.

FLASHCARD QUESTION

Front

A = [1 2 3; 4 5 6];

disp(length(A));

Do you get [2,3] or just 3?

Back

"No, you have a max dimension of size 3." 🧐

6.

FLASHCARD QUESTION

Front

help help

Back

"Help? Help with help? Here’s some help about help!" 🧐🤯

7.

FLASHCARD QUESTION

Front

i = 1;

while i < 10

disp('Help! I’m stuck!');

end

Back

"I will print forever!" 😈

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?