---
title: "Elements — AP CSP Definition & Exam Guide"
description: "An element is an individual value stored at a unique index in a list. Learn how AP CSP tests element access, removal, and 1-based indexing in pseudocode."
canonical: "https://fiveable.me/ap-comp-sci-p/key-terms/elements"
type: "key-term"
subject: "AP Computer Science Principles"
---

# Elements — AP CSP Definition & Exam Guide

## Definition

Elements refer to individual values or items stored within a list or any other collection. Each element has its own unique position or index within the list.

## Review

### Related Terms

- Size/Length: The number of elements present in the list.
- Accessing Elements: Retrieving or modifying specific elements within the list using their indices.
- Appending Elements: Adding new elements at the end of the existing list.
