Free Unity Certified User: Programmer Practice Questions
100 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the Unity Certified User: Programmer practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1A Unity script has int coins = 7. Which statement prints the message Coins: 7 by joining the label and the variable value?
- A.Debug.Log("Coins: " + coins);Correct answer: A
- B.Debug.Log("Coins: coins");
- C.Debug.Log(coins + " Coins:");
- D.Debug.Log("Coins: " + coins + coins);
2A player component needs a separate health value for each player instance. Which field declaration supplies instance storage?
- A.public static int Health = 100;
- B.public int Health = 100;Correct answer: B
- C.public const int Health = 100;
- D.public static readonly int Health = 100;
3A following camera must read the player's position after all Update work completes. Which callback fits?
- A.Awake
- B.FixedUpdate
- C.LateUpdateCorrect answer: C
- D.OnEnable
4Which Unity window shows imported assets available for use throughout a project?
- A.Hierarchy
- B.Inspector
- C.ProjectCorrect answer: C
- D.Game
5A Unity script contains int lives = 3. Which statement uses C# string interpolation to print Lives=3?
- A.Debug.Log("Lives={lives}");
- B.Debug.Log($"Lives={lives}");Correct answer: B
- C.Debug.Log($"Lives=lives");
- D.Debug.Log($"Lives={lives + 1}");
Explanation: The C# reference says, "To make a string literal an interpolated string, add the $ symbol at the beginning." B evaluates lives inside braces and prints Lives=3. A leaves the braces as text, C contains no interpolation expression, and D evaluates lives+1 and prints Lives=4.
Reference: C# interpolated strings — Structure of an interpolated string
6A roster grows as players join. It needs integer indexing and an Add method. Which initialized collection fits?
- A.int[] roster = new int[0];
- B.Dictionary<string,int> roster = new Dictionary<string,int>();
- C.List<int> roster = new List<int>();Correct answer: C
- D.int roster = 0;
Explanation: "It implements the IList<T> generic interface by using an array whose size is dynamically increased as required." List supports indexed access and dynamic growth. An array has fixed length; the dictionary has key lookup rather than the requested list operations; int stores one value.
7Physics-force logic needs the fixed-timestep callback rather than one invocation per rendered frame. Which callback fits?
- A.Update
- B.FixedUpdateCorrect answer: B
- C.Start
- D.LateUpdate
8Which Unity window shows parent-child relationships among GameObjects in the open scene?
- A.Project
- B.Game
- C.Console
- D.HierarchyCorrect answer: D
9A log entry should identify which enemy instance produced it when the entry is clicked in the Console. Which call attaches the current GameObject as context?
- A.Debug.Log(gameObject.name);
- B.Debug.Log("Enemy ready");
- C.Debug.Log("Enemy ready", gameObject);Correct answer: C
- D.Debug.Log("Enemy ready" + gameObject.name);
10A script must look up a score by a unique player name. Which declaration expresses that mapping?
- A.Dictionary<int,string> scores = new Dictionary<int,string>();
- B.List<string> scores = new List<string>();
- C.string[] scores = new string[10];
- D.Dictionary<string,int> scores = new Dictionary<string,int>();Correct answer: D
Explanation: "The Dictionary<TKey,TValue> generic class provides a mapping from a set of keys to a set of values." The first generic argument is the key type and the second is the value type. D maps names to integer scores; A reverses them and B/C lack the named key-value mapping.
Exam Review
About Unity Certified User: Programmer
Unity Certified User: Programmer · UNSPECIFIED
Key exam facts
- Provider
- Unity owns the certification; Certiport is its testing partner and delivers exams through Certiport Authorized Testing Centers.
- Format
- Computer-delivered selected-response examination with question and answer options; the official tutorial describes navigation and review. The practice bank uses four-option single-answer items.
- Exam questions
- Total questions: 37–43.
- Time limit
- 50 minutes of examination time. The timer begins at Start Exam; tutorial and post-exam feedback are separate.
- Passing score
- Passing standard is equated to 700 on Certiport's 1–1000 scaled score; this is not a claim of 70% correct.
- Exam fee
- US store: USD 130 for one Unity Certified User exam voucher plus a retake; valid in the United States only. CATCs may charge an additional proctoring fee; other-region prices are not represented.
Topics covered
Debugging, problem-solving, and interpreting the API
- Given an example of a debug log message, create the code that created the log message.
- Given a code clip and its associated error message(s), determine which object(s) is(are) null.
- Given a specific programming task requiring the use of a particular class in the API, determine the appropriate method and/or properties, arguments, or other syntax to use.
Creating code
- Indicate when and how to initialize and use variables including but not limited to the appropriate use of all variable modifiers and data collections such as Arrays, Lists and Dictionaries.
- Given a list of keywords and syntax elements, construct a viable Function declaration.
- Given a code clip and a description of its desired result, identify the appropriate function to control or trigger a state including but not limited to the Animator Controller.
- Given a scenario where a specific type of input is required and the building blocks needed are provided, construct the necessary input listener including but not limited to the keyboard and touch input.
- Demonstrate when and/or how to use the various logic and flow control operators used in C# and Unity.
- Given a scenario, identify appropriate actions to take when a UI element reports a change.
Evaluating Code
- Given a scenario about the need to manage an event function, determine the appropriate action to take including but not limited to the keyboard and touch input.
- Given a code clip that produces an error because of a variable whose data type is declared incorrectly, identify the error.
- Given a code clip that produces an error because a function or variable is declared or used incorrectly (public/private mismatch), identify the error including but not limited to the use of Animation events.
- Given a code clip containing a class definition, distinguish whether the class is an ECS class or some other type of class.
- Given a set of code clips, recognize the clip that uses naming conventions that observe Unity naming standards.
- Given a code clip (or a set of code clips), recognize the comments that accurately describe what the code is doing.
Navigating the Interface
- Describe the purpose, features, and functions of the various Unity IDE windows.
- Demonstrate how to change the default scripting IDE.
- Given a scenario which includes the following, then create a functional state machine. a. a limited portion of a gaming scenario b. a set of animation clips c. a list of property settings
- Create and program a function state machine within the Unity Animator Controller including but not limited to the use of Animator functions syntax.
How to prepare
Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.
These independent practice questions are not actual exam items and do not guarantee a passing result.
Frequently asked questions
What is the exam format?
Computer-delivered selected-response examination with question and answer options; the official tutorial describes navigation and review. The practice bank uses four-option single-answer items.
How many questions are on the exam?
Total questions: 37–43.
How long is the exam?
50 minutes of examination time. The timer begins at Start Exam; tutorial and post-exam feedback are separate.
What is the passing score?
Passing standard is equated to 700 on Certiport's 1–1000 scaled score; this is not a claim of 70% correct.
How much does the exam cost?
US store: USD 130 for one Unity Certified User exam voucher plus a retake; valid in the United States only. CATCs may charge an additional proctoring fee; other-region prices are not represented.
Official sources and references
- Unity Certified User: Programmer Exam Objectives
pp. 3–5, Core Skills
- Unity Certified User Programming Certification Exam Tutorial
p. 3, Exam Interface and Controls
- Certiport exam lengths
Unity Certifications > Unity Certified User > Programmer
- Certiport exam scoring policy
Exam scoring policy
- Unity Certified User: Exam Voucher + Retake
Price and product restrictions
Confirm current exam arrangements with the exam provider.