Game Dev Coding Semester Test

Passage
•
Computers
•
9th Grade
•
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Untitled reading quiz

Passage
•
9th - 12th Grade
21 questions
Baking, Programming, and Flowchart Concepts

Passage
•
9th Grade
16 questions
Kadyn's Future Plans Quiz

Passage
•
10th Grade
21 questions
Flowers for Algernon Progress Reports 1-8

Passage
•
9th Grade
11 questions
Settling the Americas: Who's Involved?

Passage
•
8th Grade
9 questions
Divertisment

Passage
•
8th Grade
11 questions
The Glow-Up Mindset: How Lifelong Learning Keeps You Winning

Passage
•
9th Grade
15 questions
Effects of Video Games on the Brain

Passage
•
9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade