study guides for every class

that actually explain what's on your next test

RANDOM

from class:

AP Computer Science Principles

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.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.