Random Values
AP Computer Science Principles · Flashcards
AP COMPUTER SCIENCE PRINCIPLES · FLASHCARDS
Card 1
of 29
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What is the primary difference between PRNG and TRNG?
QUESTION
Find the error: random.uniform(1, 10) gives integers between 1 and 10.
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