Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Game Development Review

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.
Instance
a)
A specific example of an object type
b)
A group of objects that all share the same properties
c)
An organized collection of information that is stored on a computer
d)
Information that lasts longer than the program that created it
e)
A part of software that a user interacts with
2.
Inclusive
a)
Smallest value that can be randomly chosen
b)
Largest value that can be randomly chosen
c)
Includes the first and last numbers in a range
d)
a unit of time equal to 60 seconds or 1/60th of an hour
3.
Which statement would we use to set a player's max health to 400?
a)
player.maxHealth = 400
b)
maxHealth = 400
c)
player.maxHealth(400)
d)
maxHealth = player.maxHealth(400)
e)
None of these
4.
Collision
a)
An event where the edge of one object touches the edge of another object
b)
An instance of one moving object or person striking violently against another
c)
The name of the function that responds to the collection event
d)
A specific type of collection event
5.
The method object.destroy( ) requires how many arguments?
a)
0
b)
1
c)
2
d)
3
6.
State
a)
A group of objects that all share the same set of properties
b)
The act of creating a new object while a game is running
c)
A description of an object at a particular moment in time
d)
An organized collection of information that is stored on a computer
e)
A place where a program was written
7.
What method is used to remove an object from the game?
a)
object.remove( )
b)
object.delete( )
c)
object.erase( )
d)
object.destroy( )
e)
object.despawn( )
8.
What is the general structure of an event handler in CodeCombat?
a)
event.on(unit, function)
b)
unit.event(on, function)
c)
unit.on(event, function)
d)
function.on(unit, event)
9.
What is the object in the code: game.spawnPlayerXY(name, x, y)
a)
game
b)
spawnPlayerXY
c)
Player
d)
name
e)
parameter
10.
Which method is used to generate random integers in CodeCombat?
a)
game.randomNumber(min, max)
b)
game.randomInteger(min, max)
c)
game.generateRandom(min, max)
d)
game.randomValue(min, max)
e)
random.randint(min, max)
11.
What is the relationship between collection and collision?
a)
Collisions only occur with enemies
b)
Collections always increase the player's score
c)
Collections are a specific type of collision event
d)
They are not related in any way
e)
They are always used together
12.
What is a collision in game development?
a)
When the edge of one object touches the edge of another object
b)
A type of game level that shares elements with another game level
c)
A programming error where multiple instances of the same object appear on the screen
d)
When a character is unable to move, causing the game to crash
13.
Which property of the game object allows us to determine how many seconds have passed since a game began?
a)
game.clock
b)
game.timer
c)
game.time
d)
game.elapsed
14.
Object Type
a)
A group of objects that all share the same properties
b)
A specific example of an object type
c)
An organized collection of information that is stored on a computer
d)
Information that lasts longer than the program that created it
e)
A part of software that a user interacts with
15.
You can remove an object from being in your game by calling the __________ method.
a)
despawn
b)
destroy
c)
collision
d)
collect
16.
Which of these is the best example of an object that "unit" can represent?
a)
soldier
b)
parameter
c)
method
d)
"spawn"
e)
Boolean
17.
What are the two possible states for most goals?
a)
Active or inactive
b)
Visible or invisible
c)
Achieved or not achieved
d)
Easy or difficult
18.
Property
a)
A variable that describes a particular characteristic of an object
b)
Creating a new object in a scene while a game is running
c)
The rules that govern how a player interacts with a game and how a game interacts with a player
d)
The objective of a game level that a player must accomplish in order to move to the next game level
e)
A group of objects that all share the same properties
19.
Persistence
a)
Information that lasts longer than the program that created it
b)
A group of objects that all share the same properties
c)
A specific example of an object type
d)
An organized collection of information that is stored on a computer
e)
A part of software that a user interacts with
20.
Game Mechanics
a)
The rules that govern how a player interacts with a game and how a game interacts with a player
b)
Creating a new object in a scene while a game is running
c)
The objective of a game level that a player must accomplish in order to move to the next game level
d)
A variable that describes a particular characteristic of an object
e)
A group of objects that all share the same properties