Search Header Logo

Video Game Programming Midterm

Authored by Harvey Dierschke

Instructional Technology

9th - 12th Grade

Used 4+ times

Video Game Programming Midterm
AI

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");

  1. 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)?

  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!");
    }

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?

  1. When you need to transition to any state and don’t care which.

When you have a group of tightly related states

  1. When you need many different transition properties into a state

  1. When a transition into a given state should always be possible

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

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.

  1. 1D, 2B, 3A, 4C

  1. 1A, 2C, 3D, 4B

  1. 1A, 2D, 3C, 4B

  1. 1C, 2D, 3A, 4B

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

  1. 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)?

  1. if (Input.GetKeyDown(KeyCode.Return))
    {
    //Debug.Log(“World domination!”);
    }

  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.print(“World Domination!”);
    }

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

  1. An object needs what on it in order to set individually how gravity effects it?

  1. A Rigidbody

  1.  

  2. A Collider

  1. A Mesh

  1. A Team

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?