⌨️ap computer science principles review

Random integer

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 random integer refers to a whole number chosen from a range of numbers in a way that each possible number has an equal chance of being selected.

"Random integer" also found in: