Search Header Logo

Week 12 Quiz

Authored by Andrew Rafe

Computers

University

Used 3+ times

Week 12 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the return of the GetOwner() function?

UActorComponent

UActorComponent*

AActor

AActor*

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The crash error "EXCEPTION_ACCESS_VIOLATION" generally means you have ...

dereferenced a nullptr.

accessed outside the bounds of the array.

an infinite loop.

called a function that does not exist.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Collision Hit Events will be called only once when the collision occurs.

TRUE

FALSE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An actor has been spawned on the server and replicated to all clients. The local role of the actor on the server is ...

ROLE_None

ROLE_Authority

ROLE_AutonomousProxy

ROLE_SimulatedProxy

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

I have declared a function UPROPERTY(Server, Reliable) void ServerFire(); in the class AGun. How would I add this to the .cpp file?

void AGun::ServerFire() { ... }

void AGun::ServerFire_Server() { ... }

void AGun::ServerFire_Implementation() { ... }

void AGun::ServerFire_Validate() { ... }

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which UPROPERTY tags would I use to create a Client RPC function that includes some form of validation?

UPROPERTY(Client, Reliable)

UPROPERTY(Client, Reliable, WithValidation)

UPROPERTY(Client, Reliable, IncludesValidation)

UPROPERTY(Client, Reliable, Validation)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

I am on a client computer connected to a dedicated server. The Remote Role of the pawn that I am currently possessing will be what?

ROLE_None

ROLE_Authority

ROLE_AutonomousProxy

ROLE_SimulatedProxy

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?