Search Header Logo

Unity Development Quiz

Authored by Nguyen Thien Phuc (FE FPTU BD)

Computers

University

Used 4+ times

Unity Development Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the DontDestroyOnLoad() method in Unity?

It prevents a GameObject from being destroyed when a new scene loads.

It makes a GameObject immune to collisions.

It prevents a GameObject from being affected by physics.

It keeps the GameObject at a fixed position.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you properly implement a coroutine in Unity?

Use async and await keywords.

Call the method normally in Update().

Use StartCoroutine(MyCoroutine()).

Use InvokeRepeating().

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does Time.deltaTime represent in Unity?

The total time since the game started.

The time it takes for one physics update.

The time elapsed between frames.

The time elapsed in real-world seconds.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes a Unity Prefab?

A GameObject that is stored as an asset and can be reused.

A script that controls the physics of a GameObject.

A UI element for organizing GameObjects.

A GameObject that cannot be instantiated at runtime.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the best way to handle player input in Unity for multiple platforms?

Using Input.GetKey() directly.

Using Unity’s Input System package.

Checking input in FixedUpdate().

Using Input.GetAxisRaw() only.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to apply force to a Rigidbody in Unity?

rigidbody.velocity = new Vector3(0, 10, 0);

rigidbody.MovePosition(transform.position + Vector3.up * 10);

rigidbody.AddForce(new Vector3(0, 10, 0), ForceMode.Impulse);

rigidbody.transform.position += Vector3.up * 10;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Unity, what is the difference between OnTriggerEnter() and OnCollisionEnter()?

OnTriggerEnter() is called for all collisions.

OnCollisionEnter() requires at least one Rigidbody.

OnTriggerEnter() requires the GameObject to have a MeshRenderer.

OnCollisionEnter() only works with UI elements.

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?

Discover more resources for Computers