
Math.random CSA quiz
Authored by Ayush Ghosh
Science
10th Grade
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What type of value does Math.random() return?
Int
int
Double
double
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the specific range of Math.random()
(0,1)
[0,1)
(0,10)
[0,1]
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the range of (int) (Math.random() * 6) + 5
10
6
11
5
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the minimum of (int) (Math.random () * 20) + 1
0
20
1.0
1
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the formula for range?
max + min + 1
min - max + 1
max - min + 1
max - min - 1
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Calculate the range with these vales:
max = 50
min = 27
23
23.0
24
25
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Sally is playing a game with her friend. They are both rolling dice to see who can win the $1 dollar prize. The winner of the game is determined by the 1st player rolling a dice and then the other player wins if they roll any number that is greater than the number the first player rolled. If Sally rolls a 2, which of the following random numbers include ALL the possible values that her friend must roll to win?
(int) (Math.random() * 4) + 3
(int) (Math.random() * 3) + 3
(int) (Math.random() * 6)
(int) (Math.random() * 6) + 1
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?
Similar Resources on Wayground
11 questions
UMatériel Fiche 5 : Propriétés «Caractéristiques à identifier»
Quiz
•
8th Grade - University
10 questions
Review Classifying Matter, Neutrons & Isotopes Radioactivity
Quiz
•
9th - 10th Grade
11 questions
Herramientas WEB
Quiz
•
6th Grade - Professio...
10 questions
Kuiz Sains
Quiz
•
7th - 11th Grade
10 questions
AI THÔNG MINH HƠN
Quiz
•
6th - 12th Grade
10 questions
Célula eucariota
Quiz
•
10th Grade
11 questions
Quiz Proyek IPAS
Quiz
•
10th Grade
12 questions
Ipa danish
Quiz
•
1st - 12th Grade
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 Science
10 questions
Exploring Weathering, Erosion, and Deposition Processes
Interactive video
•
6th - 10th Grade
10 questions
Exploring Mendelian Genetics and Punnett Squares
Interactive video
•
6th - 10th Grade
10 questions
Exploring Light and Waves Concepts
Interactive video
•
6th - 10th Grade
35 questions
DNA Structure and Replication
Quiz
•
10th Grade
10 questions
Distinguishing Natural Hazards from Disasters
Interactive video
•
6th - 10th Grade
89 questions
Unit 1 (Ch 2 & 3) Test Review - Water/Ocean Currents
Quiz
•
9th - 12th Grade
48 questions
Review for Homeostasis & Interacting Systems Test
Quiz
•
9th - 12th Grade
10 questions
Exploring Protein Synthesis: Transcription and Translation
Interactive video
•
10th Grade