Video Game Programming Midterm

Video Game Programming Midterm

Assessment

Flashcard

Instructional Technology

9th - 12th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

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:

  1. if (Input.GetKeyDown(KeyCode.Return))
    {
    //Debug.Log("World domination!");
    }
,
  1. if (Input.GetKeyDown(KeyCode.Enter))
    {
    Debug.Log("World domination!");
    }
,
  1. if (Input.GetKeyDown(KeyCode.Return))
    {
    Debug.Log("World domination!");
    }
,
  1. 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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Instructional Technology