⌨️ap computer science principles review

List

Written by the Fiveable Content Team • Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated September 2025

Definition

A list, also known as an array or a collection, is a data structure that holds a sequence of elements. In AP Pseudocode, it allows storing multiple values under one variable. Each element in the list can be accessed using its index.

"List" also found in: