AP Computer Science Aeasymcq1 pt

To find the maximum in a 2D array, you

A.track the largest element across all rows
B.read grid[0][0] only
C.sort the rows
D.read the last element

Explanation

Core Concept

Scanning tracks the running max.

Correct Answer

Atrack the largest element across all rows

More Unit 8: 2D Array practice questions

Try a random question →

Practice more AP Computer Science A questions with full explanations

Practice Unit 8: 2D Array Questions →