AP CS 9: 2D Arrays

Premium Lesson

This is a premium course. To view and assign premium course, you must upgrade your account

Upgrade Now

There's one more type of Array to cover, the 2-Dimensional array- an array of arrays. We'll look at some examples and jump right in to the challenges

Course Items

Introduction to 2D Arrays

Learn to create 2D Arrays

Creating a 2D Array

Here we create a 2D Array, assign it values, and read values from it

Create a print2DArray method

Create a method that takes in a 2D array and prints it visually

Random Integer Array

Create a 2D Array of given size of random values from 0 to 10

2D Array Searching

Search an array for all index numbers that meet a certain criteria

Simulated 2D Data Processing

Many companies work with user data organized in tables. We're going to make a simulated grid and perform some example calculations

AP CS 9: 2D Arrays Info


AP Computer Science





Created By


AP CS 9: 2D Arrays Prereqs