Variable and Lists
IF you like Conditionals, pick me!
Functions, Methods, and the Events that call them
Loops, Loops, and More Loops!
Game Maker Studio
100
What is a variable?
A named storage container for a single piece of information (eg, a single number, word, letter)
100
What is the purpose of IF statements?
To allow the code to respond differently to different situations, or conditions
100
Method or function?

penguin.howTall( )
Function
100
What are loops used for in programming?
To repeat sections of code
100
What is a computer game?
A software program in which 1 or more players make decisions through the control of game objects and resources in pursuit of a goal
200
What is a list?
A special type of variable that can hold multiple pieces of related information
200
What is the symbol for "NOT EQUAL TO"?
!=
200
What is the difference between a method and a function?
Both methods and functions can perform actions, but only functions can return information
200
What is the correct type of loop to use?

"A rabbit jumps continuously until you shut down the program."

A. Repeat "x" times
B. Repeat "infinity" times
C. Repeat while "x" is true
B. Repeat "infinity" times
200
What is game "flow" ?
Term used to describe how a game uses pacing, challenges and competition in relation to the realistic capabilities of the player
300
What is the "string" data type used for?
Words, or a combination of letters and numbers
300
What is the output?

set b to 100
if b > 99
say "abc"
say "def"
abcdef
300
In the following method, identify the parameters:

"Write a method that allows the user to adjust how a rabbit jumps by setting the jump height, distance, and direction."
Height, distance, and direction
300
What is the correct type of loop to use?

"The game should restart until there are no more lives left"

A. Repeat "x" times
B. Repeat "infinity" times
C. Repeat while "x" is true
C. Repeat while "x" is true
300
What is the game genre for the following games?

Pacman, Space Invaders, Tetris
Arcade
400
What is the correct data type for a variable that can be one of two values, for example, TRUE or FALSE, YES or NO, 0 or 1?
boolean (bool)
400
What is the output?

set a to 99
if a > 99
say "abc"
say "def"
def
400
Which of these is not a programmable event?
A. When the computer is turned off...
B. When the green flag is clicked...
C. When the up arrow is pressed...
D. When the ball collides with the paddle...
A. When the computer is turned off
400
What is the output?

set a to 100
repeat 3
change a by -5
say a
85
400
What is the game genre for the following games?

The Sims, Roller Coaster Tycoon
Simulator/Simulation
500
What is the output?

set b to 2
repeat 4
change b by 3
add b to list
say list
[5, 8, 11, 14]
500
What is the output?

set d to 100
set e to 88
if d > 90
say "abc"
if e < 95
say "def"
abcdef
500
Give an example of a METHOD that is passed at least ONE PARAMETER. Identify the parameter.
Method - must complete an action based on the parameter passed

EX - jump 'x' feet ('x', the number of feet to jump, is the parameter)
500
What is the output?

set c to 30
repeat until c < 10
change c by -5
say c
5
500
What is the action "Test Instance Count" used for?
To check how many of an object remain in the room