โŒจ๏ธap computer science principles review

RANDOM

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

RANDOM is a function often used in College Board pseudocode that generates random numbers within specified ranges. It takes two arguments - the lower bound and upper bound of the range - and returns a randomly selected value within that range, inclusive.

Pep mascot

"RANDOM" also found in: