Random Values
AP Computer Science Principles · Flashcards · Recall
AP COMPUTER SCIENCE PRINCIPLES · FLASHCARDS
Card 1
of 25
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
Which method resets the state of the random number generator in Java?
QUESTION
What is the primary difference between PRNG and TRNG?
QUESTION
Which option best describes the sequence produced by a PRNG?
Tap to flip before you grade
ANSWER
Deterministic and reproducible with the same seed. Mathematical algorithms ensure consistent behavior across runs.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card