2D array practice exercises

Increasingly complex manipulations of 2D arrays have been featured on the AP Computer Science A Exam. This exercise includes traversals, swaps and other manipulations of 2 dimensional arrays. The AP CS Pictures Lab makes extensive use of 2D arrays.

Mazer free response practice question

This problem is intended as practice with traversal of 2D arrays. The AP CS Pictures Lab demonstrates 2D array traversal.

Droppy free response practice question

Droppy free response practice question
This problem is intended as practice with traversal of 2D arrays and with String manipulation. The AP CS Magpie Lab demonstrates String manipulation. The AP CS Pictures Lab demonstrates 2D array traversal.

DeterminantFinder practice problem

Manipulation of 2 dimensional arrays is testable on the AP Computer Science A Exam. Multiple choice and free response questions are fair game. The DeterminantFinder practice problem is intended as practice with 2D arrays and with recursion. The DeterminantFinder practice problem requires complex manipulation of 2D arrays of integers. It also requires coding a recursive ...

Flight free response practice question

Flight free response practice question
Two dimensional arrays are tested on the AP Computer Science A Exam, often with a free response question. You will probably be required to loop through the entire data structure in a specified order. You might be required to loop through part of the data structure, which is more complex. This problem is intended as ...

MatrixManipulator practice problem

MatrixManipulator practice problem
Manipulation of 2 dimensional arrays is testable on the AP Computer Science A Exam. Multiple choice and free response questions are fair game. The MatrixManipulator practice problem is intended as practice with 2D arrays and with the nested loops commonly used to traverse them. The MatrixManipulator practice problem requires extensive manipulation of 2D arrays of ...