CS Awesome Unit 8 Lesson 2 Traversing 2D Arrays

CS Awesome Unit 8 Lesson 2 Traversing 2D Arrays

9th - 12th Grade

4 Qs

quiz-placeholder

Similar activities

#017 Topic 6.2 Video 1

#017 Topic 6.2 Video 1

11th Grade

5 Qs

advanced storage techniques ( arrays , DataFrame)

advanced storage techniques ( arrays , DataFrame)

9th - 10th Grade

9 Qs

APCSA Unit 8

APCSA Unit 8

11th Grade

8 Qs

MS Excel - Lookup, Reference, Logical, and Nested Functions

MS Excel - Lookup, Reference, Logical, and Nested Functions

12th Grade

8 Qs

Two-Dimensional Array

Two-Dimensional Array

11th Grade - University

6 Qs

Two-Dimensional Array

Two-Dimensional Array

9th - 12th Grade

6 Qs

MS Excel: Performing Operations using Formulas and Functions

MS Excel: Performing Operations using Formulas and Functions

12th Grade

7 Qs

Reviewing Arrays

Reviewing Arrays

11th Grade

7 Qs

CS Awesome Unit 8 Lesson 2 Traversing 2D Arrays

CS Awesome Unit 8 Lesson 2 Traversing 2D Arrays

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Randle Moore

Used 229+ times

FREE Resource

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