Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 28 pages
Exam (elaborations)

Unity Certified Programmer Book Mock test UPDATED ACTUAL Exam Questions and CORRECT Answers

Document preview thumbnail
Preview 3 out of 28 pages

Unity Certified Programmer Book Mock test UPDATED ACTUAL Exam Questions and CORRECT Answers You have been asked to develop a horror survival game where your player relies on a pocket torch. Here is what you've coded so far: void Start() { Light playersTorch = GetComponentLight(); playersTMapBakeType = LightMapBakeType.Mixed; playersT = LightType.Area; playersTws = LightShadows.Soft; playersT = 5f; } You notice, however, that the player's torch isn't casting any light or shadows. What should yo

Content preview

Unity Certified Programmer Book Mock test
UPDATED ACTUAL Exam Questions and
CORRECT Answers
You have been asked to develop a horror survival game where your player relies on a pocket
torch. Here is what you've coded so far:
void Start()
{
Light playersTorch = GetComponent<Light>();
playersTorch.lightMapBakeType = LightMapBakeType.Mixed;
playersTorch.type = LightType.Area;
playersTorch.shadows = LightShadows.Soft;
playersTorch.range = 5f;
}
You notice, however, that the player's torch isn't casting any light or shadows. What should you
change for this code to work as desired? - CORRECT ANSWER - D) Set
playersTorch.type to LightType.Point.


You have started creating your first indie game, Super Moped Racer 64. You have coded your
input controls to work with a joystick and started testing your moped around corners. You've
noticed that after turning the moped around the first corner, the moped still turns even after
you've let go of the joystick.


You've checked your code and the joystick and both seem to be working fine, suggesting the
issue is with the input manager.


What change should you make within the input manager? - CORRECT ANSWER -
Increase Deadzone.

,You have started to template a game framework with pen and paper. You have drawn up several
manager scripts that will all lead to the creation of a single GameManager script. You only
require one GameManager script, which will always be in your scene.


Which design pattern suits having a GameManager script in a persistent instance role? -
CORRECT ANSWER - Singleton


You have been requested to create a prototype for a side-scrolling game where your player
throws rocks at their enemies. The game works well and the camera moves from left to right
until the level is over. To throw a rock, your code instantiates a prefab of a rock, which is then
given a force (Rigidbody.AddForce) to launch the rock to give the illusion of the rock being
thrown.


Your lead developer says that your method is costing too much in-memory performance and
wants you to store a maximum of 10 rocks from within an array of rocks using a design pattern.
Once a rock is used, instead of being destroyed, it should return to the array.


What design pattern is the developer referring to? - CORRECT ANSWER - Object Pool


You and a few other developers have been using Unity's Collaborate service for a while with
regular pushes. Everything is going well until you realize you have accidentally deleted a file
from the project.


What feature would you use to get this file back? - CORRECT ANSWER - Collab History


What would be the best way for a UI menu system to be worked on from a programmer's
perspective, but at the same time doesn't interfere with an artist working on the same workflow?
- CORRECT ANSWER - Use prefabs for each UI component so that any artist can modify
them individually.


When using Unity's own Version Control Collaborate, which of the following can be excluded
using the .collabignore file? - CORRECT ANSWER - Editor

, An Image component has a sprite in its Source Image parameter and its Image Type is set to
Filled. What does Filled do? - CORRECT ANSWER - It offers various ways to fill in the
sprite.


What component does CrossPlatformInputManager replace? - CORRECT ANSWER -
Input


When testing a top-down shooter game you have just developed, you want the controls to have
an "Arcade" feel. To make the controls snap into position when moving the player, which
property would help create what is required? - CORRECT ANSWER - GetAxisRaw


When writing code such as variable names, which is the correct naming convention to use? -
CORRECT ANSWER - Camel case


You are working with a team to create a realistic simulation for the military that includes a series
of explosions. You have been asked to take over from the previous developer who has, so far,
created a framework that issues a series of explosions from a bank of prefabs. The prefabs are
updated on a regular basis by one of the artists on the team. As impressive as this looks, the
program has gotten quite big and the artist will need to have the option to update, swap out,
replace, and delete prefabs from the framework.


What solution can you offer the team that keeps this framework from not going against SOLID
principles and is accessible to the artist in the team? - CORRECT ANSWER - Create a
single scriptable object that holds an array of prefabs that holds a reference to either script.


Which collider is the fastest for the Unity physics system to calculate? - CORRECT
ANSWER - Sphere



Which is the cheapest MinMaxCurve to use? - CORRECT ANSWER - Constant


Which property needs to be accessed through code to create a strobe effect for a night club
scene? - CORRECT ANSWER - intensity

Document information

Uploaded on
May 24, 2025
Number of pages
28
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
STANFORDGENIUS
4.0
(237)
Sold
1570
Followers
108
Items
113682
Last sold
1 hour ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions