

DiceGameStep1
Interactive Video
•
Computers
•
7th Grade
•
Practice Problem
•
Medium
John Streety
Used 2+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in creating the dice game?
Print a welcome message
Roll the dice immediately
Ask the user how many dice they want to play with
Ask the user for their name
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What module is imported to help with rolling dice?
math
sys
os
random
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the rollDice function return?
A string of numbers
A boolean value
A list of random numbers
A single random number
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the user_rolls variable?
To store the user's name
To store the number of dice
To store the user's score
To store the result of the user's dice roll
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the program do after rolling the dice for the user?
Prints a goodbye message
Rolls the dice for the computer
Ends the game
Asks the user to roll again
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
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade