💻ap computer science a review

Accumulator

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2027 exam
Verified for the 2027 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

A variable that is initialized and then updated repeatedly in a loop to aggregate or track a running count or value.

AP course connection

Topic 2.8: 2.8 For Loops

Unit 2

"Accumulator" also found in: