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.

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 ...

MyArrayList practice problem

Many multiple choice and free response questions on the AP Computer Science Exam require you to manipulate arrays and lists. The MyArrayList practice problem is intended primarily as practice with arrays, though it also exposes you to list behavior. The project requires you to insert elements into and delete elements from a partially filled array. It also requires you to traverse the ...