ACTUAL Exam Questions and CORRECT
Answers
what is the correct way to pause execution in a coroutine for a given amount of seconds based on
the API definition? - CORRECT ANSWER - Yield return new WaitForSeconds(float
seconds)
What is a const? - CORRECT ANSWER - Used to declare a constant field. Constants may
not be modified.
What access modifier allows a variable to be edited in the inspector? - CORRECT
ANSWER - public
What is the purpose of the Hierarchy Window? - CORRECT ANSWER - It shows the
structure of the gameobjects in you scene as well as how objects are attached to each other.
True or False: A function that returns something must have the return type in the function
declarations - CORRECT ANSWER - True
what is &&? - CORRECT ANSWER - conditional logical AND operator, The result of x
&& y is true if both x and y evaluate to true.
(yes or no)You can combine multiple state machines together - CORRECT ANSWER -
No: You can combine multiple state machines together
(yes or no)The state machine allows you to see the animations on a particular object and to set
events to trigger a particular animation - CORRECT ANSWER - Yes: The state machine
allows you to see the animations on a particular object and to set events to trigger a particular
animation.
, (yes or no) state machines can be used to add sounds to animations on a particular object -
CORRECT ANSWER - No: State machines can be used to add sounds to animations on a
particular object
(yes or no) You can add code to a particular animation from the state machine for organizing
animations and code together - CORRECT ANSWER - No: You can add code to a
particular animation from the state machine for organizing animations and code together
You want to initialize some variables before the game starts. What is the appropriate
monobehavior function for this? - CORRECT ANSWER - Initializing variables in
Awake() will ensure that they initialize before the game starts
What is ECS? - CORRECT ANSWER - Entity-Component-System (ECS) is a software
architectural pattern mostly used on video game development for the storage of game world
objects. An ECS follows the pattern of "entities" with "components" of data.
What is a state machine? - CORRECT ANSWER - contains the states and transitions that
make up the logic of the state machine, and can be used anywhere an activity can be used.
which of the following components is attached to every
GameObject? - CORRECT ANSWER - Transform
Which type of asset can be used to create new instances of objects in a scene? - CORRECT
ANSWER - Prefab
Which of the following is a container of componets that could be used to represent a character,
prop, or anything else in a scene? - CORRECT ANSWER - GameObject
Which of the flowing Editor windows allow you to view and modify components on a
GameObject? - CORRECT ANSWER - Inspector