โŒจ๏ธap computer science principles review

Variable

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

A variable is a named storage location in computer memory that holds a value which can change during program execution. It allows programmers to store and manipulate different types of data throughout their code.

Pep mascot