Description
Update: March 14th 2025
- Step-by-step instructions on how to declare, access, edit values in 2D Arrays, using visualizations.
- Updated graphics, illustrations and animations for 100% of slides
- Better visualization for code snippets using carbon.sh
- More coherent with 1D Array (unit 7) slides.
Overview. These slides are teachable, they augment the Arrays and ArrayList content while introducing the structure of a 2D Array, and includes illustrations to help visualize working with 2D Arrays.
Objective: Understand, explain, and describe how to represent a collection of data in a 2-Dimensional (2D) Array
- Decide when and why to use a 2D Array
- Declare and populate an 2D Array
Initialize a collection of Primitive and reference types
Add, Edit, Remove, Access elements - Traverse a 2D Array
Using for, while and enhanced for-loops
Row-Major Traversal & Column-Major Traversal
Discuss the efficiency of a 2D Array Traversal
Vocabulary and functions
- Search and retrieve elements from a 2D Array
- Row-major and Column-major traversal of an Array
For the best experience, please view these slides on "Presentation Mode" on PowerPoint / Office 365
These slides closely follow the content set by College Boards AP CS A Unit 8.These set the fundamentals and the foundation for searching and sorting algorithms.
Highlights
Description
Update: March 14th 2025
- Step-by-step instructions on how to declare, access, edit values in 2D Arrays, using visualizations.
- Updated graphics, illustrations and animations for 100% of slides
- Better visualization for code snippets using carbon.sh
- More coherent with 1D Array (unit 7) slides.
Overview. These slides are teachable, they augment the Arrays and ArrayList content while introducing the structure of a 2D Array, and includes illustrations to help visualize working with 2D Arrays.
Objective: Understand, explain, and describe how to represent a collection of data in a 2-Dimensional (2D) Array
- Decide when and why to use a 2D Array
- Declare and populate an 2D Array
Initialize a collection of Primitive and reference types
Add, Edit, Remove, Access elements - Traverse a 2D Array
Using for, while and enhanced for-loops
Row-Major Traversal & Column-Major Traversal
Discuss the efficiency of a 2D Array Traversal
Vocabulary and functions
- Search and retrieve elements from a 2D Array
- Row-major and Column-major traversal of an Array
For the best experience, please view these slides on "Presentation Mode" on PowerPoint / Office 365
These slides closely follow the content set by College Boards AP CS A Unit 8.These set the fundamentals and the foundation for searching and sorting algorithms.




