
Random Number Generation Concepts
Interactive Video
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Amelia Wright
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT an example of a program that might need to generate random numbers?
A quiz program
A text editor
A national lottery program
A dice simulation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, which library is used to generate random numbers?
math
random
numpy
statistics
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two parameters required by the random function in Python?
The seed value and the range
The lowest and highest values that can be generated
The number of random numbers to generate and the range
The type of random number and the range
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between pseudorandom numbers and true random numbers?
Pseudorandom numbers are used in cryptography, true random numbers are not
Pseudorandom numbers are always predictable, true random numbers are not
Pseudorandom numbers are generated by algorithms, true random numbers are not
Pseudorandom numbers are generated by hardware, true random numbers are generated by software
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do pseudorandom number generators need a seed value?
To increase the speed of random number generation
To reduce the memory usage of the program
To alter the output list of random numbers each time the algorithm is run
To ensure the numbers are truly random
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Unix epoch time?
The number of hours since January 1st, 1970
The number of seconds since January 1st, 1970
The number of minutes since January 1st, 1970
The number of milliseconds since January 1st, 1970
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is entropy in the context of generating true random numbers?
A measure of the randomness gathered from the physical world
A measure of the speed of random number generation
A measure of the memory usage of the random number generator
A measure of the predictability of a system
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade