โŒจ๏ธap computer science principles review

Variables

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

Definition

Variables are containers that hold values or data in a computer program. They can store different types of information such as numbers, text, or boolean values.