Search Header Logo

CS Awesome Unit 8 Lesson 2 Traversing 2D Arrays

Authored by Randle Moore

Computers

9th - 12th Grade

Used 232+ times

CS Awesome Unit 8 Lesson 2 Traversing 2D Arrays
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

4 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the intended purpose of method mystery?

Row major order

Column major order

Identify the smallest value in the array

Identify the largest value in the array

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is order of this 2D array traversal?

Row major order

Column major order

Identify the smallest value in the array

Identify the largest value in the array

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What determines the order of traversal in a nested for loop?

the outer loop variable

the inner loop variable

the first variable in [row][col]

the second variable in [row][col]

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

True or False: To change the order of traversal to column major order, a correct short cut is to simply change the order of variables from [row][col] to [col][row] in the statement "anArray[row][col]".

True

False

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?