Game Dev Coding Semester Test
Passage
•
Computers
•
9th Grade
•
Practice Problem
•
Easy
Kim Conant
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the width of the game screen as set in the code?
800
600
400
300
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to play background music in the code?
music.play('epic.wav')
sound.play('epic.wav')
audio.play('epic.wav')
bgm.play('epic.wav')
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which list is used to store the background images?
bg_images
enemy_bullets
powerup_images
enemies
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the code randomly select a background image?
By using random.choice(bg_images)
By using random.randint(bg_images)
By using bg_images[0]
By using random.shuffle(bg_images)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose you want to increase the size of the player ship. Which property would you change?
player.scale
player.pos
player.image
player.speed
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would happen if you set the value of HEIGHT to 400 instead of 600?
The game screen would be shorter vertically
The game screen would be wider horizontally
The player ship would move faster
The background music would change
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why might you use lists like 'bullets', 'enemies', and 'enemy_bullets' in a game?
To keep track of multiple objects of the same type during gameplay
To store background music files
To save player scores
To change the screen resolution
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
16 questions
G 09 MOCK ASSET 1:2024-25.
Passage
•
9th Grade
16 questions
CPU Components and Functions Quiz
Passage
•
9th Grade
16 questions
Introduction to OneDrive - GCFGlobal (15)
Passage
•
8th Grade
9 questions
Gateway B2 Test5 Au u5 (money matters ) trade
Passage
•
9th Grade
16 questions
10.2.1 Network Devices (18 pts)
Passage
•
8th Grade
15 questions
Quiz on Young Father's Impact on Boon
Passage
•
9th Grade
14 questions
L5影片問答
Passage
•
9th Grade
16 questions
Gambians' Journey to Spain
Passage
•
10th Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade