
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
11 questions
Understanding Randomness in Computing

Interactive video
•
9th - 12th Grade
11 questions
C++ Programming Concepts and Operators

Interactive video
•
9th - 12th Grade
11 questions
Computational Thinking and Algorithms

Interactive video
•
10th - 12th Grade
11 questions
Understanding Arrays

Interactive video
•
9th - 12th Grade
11 questions
Understanding the Fetch-Decode-Execute Cycle

Interactive video
•
9th - 12th Grade
11 questions
Floating Point Arithmetic Concepts

Interactive video
•
9th - 12th Grade
11 questions
Understanding Normalized Floating Point Binary

Interactive video
•
9th - 12th Grade
11 questions
Binary Addition and Representation

Interactive video
•
9th - 11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade