Back to Unit

Unit 4: Data Collections

AP Computer Science A — Note Packet

0 of 5 blanks filled

Key Terms

Dynamic Data Structure

A data structure that changes _______ during runtime based on what your program needs, unlike arrays which have a _______ size.

Autoboxing

The automatic process where Java wraps a _______ value in its corresponding _______ class when storing it in an ArrayList.

Wrapper Classes

Object classes like _______ that wrap primitive data types so they can be stored in ArrayLists, which only store _______.

Enhanced For Loop

A _______ loop that allows you to traverse an ArrayList without knowing indices, but prevents _______ modifications to the list structure.

ConcurrentModificationException

An exception thrown when you attempt to _______ an ArrayList's structure while using an _______ for loop.

Data Minimization

The ethical principle of only collecting data that you _______ need for your application's functionality.

1 / 5