
Quiz: Pygame Zero - Keeping Score
Authored by Santos Martínez
Computers
8th Grade

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
2 mins • 1 pt
What should be the initial value of the score variable?
1
0
10
5
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How do we increase the score when the spaceship catches the gem?
score = score + 1
score = score - 1
score = score * 2
score = score / 2
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What keyword is used to access a global variable inside a function?
local
var
nonlocal
global
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How do we update the x-coordinate of the ship when moving left 5 pixels?
ship.x = ship.x / 2
ship.x = ship.x - 5
ship.x = ship.x + 5
ship.x = ship.x * 2
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the purpose of the draw() function in the program?
To display visuals on the screen
To handle keyboard input
To move the gem
To update the score
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the color of the text used to display the score?
screen.draw.text('Score: ' + str(score), (15,10), color=(255,255,255), fontsize=30)
White
Blue
Green
Red
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the size of the font used to display the score?
screen.draw.text('Score: ' + str(score), (15,10), color=(255,255,255), fontsize=30)
30
35
20
25
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
10 questions
AI QUIZ
Quiz
•
6th - 8th Grade
10 questions
Magazine Photoshop
Quiz
•
8th Grade
15 questions
UJIAN PRAKTEK TIK KELAS 8
Quiz
•
8th Grade
10 questions
Bitmap v Vector Images
Quiz
•
KG - University
14 questions
Taylor Chess Quiz
Quiz
•
4th - 12th Grade
11 questions
Excel
Quiz
•
1st - 10th Grade
12 questions
H7.P1&P2.Nova2.Geluid.mhv
Quiz
•
4th - 10th Grade
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 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 Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
11 questions
Valentines Day
Quiz
•
6th - 8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
25 questions
7th Reading STAAR Vocabulary
Quiz
•
6th - 8th Grade
25 questions
Valentine's Day Trivia
Quiz
•
8th Grade