
Random Number Generation Concepts

Interactive Video
•
Computers
•
9th - 12th Grade
•
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
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
Exploring Patterns in Polar Coordinates

Interactive video
•
9th - 12th Grade
11 questions
Maze Solving and Random Walks

Interactive video
•
9th - 12th Grade
8 questions
Core Java Programming Course- Math Class

Interactive video
•
9th - 10th Grade
11 questions
Understanding Central Tendencies and Expected Value

Interactive video
•
9th - 12th Grade
11 questions
Understanding the Card Game Strategy

Interactive video
•
9th - 12th Grade
11 questions
Introduction to Arrays and Random Name Generator in Small Basic Programming

Interactive video
•
KG - University
11 questions
Probability and Simulation Concepts

Interactive video
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade