
Video Game Programming Midterm

Flashcard
•
Instructional Technology
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

25 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which syntax is correct for printing the words "Welcome to the jungle" to the console? Options: Debug.log("Welcome to the jungle");, Debug.Log("Welcome to the jungle"), Debug.Log("Welcome to the jungle");, Debug.log("welcome to the jungle")
Back
Debug.Log("Welcome to the jungle");
2.
FLASHCARD QUESTION
Front
Which of the following code will successfully print "World domination!" when the player presses the enter key (enter key on PC, return key on Mac)?
Options:
- if (Input.GetKeyDown(KeyCode.Return))
{
//Debug.Log("World domination!");
}
- if (Input.GetKeyDown(KeyCode.Enter))
{
Debug.Log("World domination!");
}
- if (Input.GetKeyDown(KeyCode.Return))
{
Debug.Log("World domination!");
}
- if (Input.GetKeyDown(KeyCode.Return))
{
Debug.print("World domination!");
}
Back
if (Input.GetKeyDown(KeyCode.Return))
{
Debug.Log("World domination!");
}
3.
FLASHCARD QUESTION
Front
Which conditional statement would we use as a catch all (ie. if all other conditions are false, then execute this final case)?
Back
else
4.
FLASHCARD QUESTION
Front
When would you use the Any State?
Back
When a transition into a given state should always be possible
5.
FLASHCARD QUESTION
Front
Match the properties to the correct description: A. The tint to be applied when the button is clicked. B. The tint to be applied when the button is not interactable. C. The tint to be applied by default. D. The tint to be applied when the mouse is hovering over the button.
Back
1C, 2D, 3A, 4B
6.
FLASHCARD QUESTION
Front
Which of the following code will successfully print "World domination!" when the player presses the enter key (enter key on PC, return key on Mac)?
if (Input.GetKeyDown(KeyCode.Return))
{
//Debug.Log(“World domination!”);
}
if (Input.GetKeyDown(KeyCode.Return))
{
Debug.Log(“World domination!”);
}
if (Input.GetKeyDown(KeyCode.Enter))
{
Debug.log(“World Domination!”);
}
if (Input.GetKeyDown(KeyCode.Return))
{
Debug.print(“World Domination!”);
}
Back
if (Input.GetKeyDown(KeyCode.Return))
{
Debug.Log(“World domination!”);
}
7.
FLASHCARD QUESTION
Front
An object needs what on it in order to set individually how gravity affects it?
Back
A Rigidbody
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Blox Fruits and Roblox Flashcard

Flashcard
•
KG
15 questions
Blox Fruits and Roblox Flashcard

Flashcard
•
KG
15 questions
Political Geography Flashcard

Flashcard
•
9th - 12th Grade
20 questions
French Revolution

Flashcard
•
9th - 12th Grade
18 questions
Micheal Jordan

Flashcard
•
KG
18 questions
BlackbirdCode starter tips

Flashcard
•
9th - 12th Grade
20 questions
Lego Batman Trivia

Flashcard
•
9th - 12th Grade
17 questions
Video Game Design Vocabulary Test

Flashcard
•
9th - 12th 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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade