⌨️ap computer science principles review

Random numbers

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

Random numbers are unpredictable values that are generated by computer algorithms without any discernible pattern or order. They are often used in simulations, games, cryptography, and statistical analysis.

"Random numbers" also found in: