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
13 questions
Our Homestay Experience
Passage
•
9th Grade
12 questions
Forrest Gump Chapter 9: A Real Idiot
Passage
•
10th Grade
16 questions
Career Choices and Advice
Passage
•
KG
14 questions
Quiz on the Old House and Surroundings
Passage
•
9th Grade
14 questions
White Teeth Extract
Passage
•
9th Grade
9 questions
Topic 22: Air Handling Unit Quiz
Passage
•
10th Grade
16 questions
Automatic Speech Recognition Concepts
Passage
•
8th 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