
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
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade