
Video Game Programming Midterm
Authored by Harvey Dierschke
Instructional Technology
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which syntax is correct for printing the words "Welcome to the jungle" to the console?
Debug.log("Welcome to the jungle");
Debug.Log("Welcome to the jungle")
Debug.Log("Welcome to the jungle");
Debug.log("welcome to the jungle")
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
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.Enter))
{
Debug.Log("World domination!");
}
if (Input.GetKeyDown(KeyCode.Return))
{
Debug.Log("World domination!");
}
if (Input.GetKeyDown(KeyCode.Return))
{
Debug.print("World domination!");
}
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which conditional statement would we use as a catch all (ie. if all other conditions are false, then execute this final case)?
if
else if
else
whatever
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
When would you use the Any State?
When you need to transition to any state and don’t care which.
When you have a group of tightly related states
When you need many different transition properties into a state
When a transition into a given state should always be possible
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
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.
1D, 2B, 3A, 4C
1A, 2C, 3D, 4B
1A, 2D, 3C, 4B
1C, 2D, 3A, 4B
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
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)?
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!”);
}
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
An object needs what on it in order to set individually how gravity effects it?
An object needs what on it in order to set individually how gravity effects it?
A Rigidbody
A Collider
A Mesh
A Team
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?