Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

GADV 03 - Scripting

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the game loop?

a)

A for loop, while loop, or do while loop.

b)

The sequence of processes that run from the start to the end of a game.

c)

A sequence of processes that run continuously as long as the game is running

d)

A cycle of actions that you repeat over and over within a game.

2.

What are the three main high-level game loop processes?

a)

Play, Process, Win/Lose

b)

Input, Process, Output

c)

Input, Update, Render

d)

Play, Update, Render

3.

Which programming language is used for Unity scripting?

a)

Java

b)

C#

c)

None. Unity uses components.

d)

JavaScript

4.

What is a Unity component

a)

A C# class that is part of the Unity API

b)

A resusable C# script that defines some specific functionality

c)

A C# script that implements a specific part of the functionality of a game

d)

A C# script that implements a specific part of a GameObject's functionality

5.

This script cannot be used as a GameObject component -- why not?

a)

It does not subclass MonoBehaviour

b)

It is not a part of the Unity API

c)

It does not implement all the MonoBehaviour lifecycle methods

d)

It has not been added to any GameObject yet

6.

Which of these is a MonoBehaviour method inherited by its subclasses?

a)

FixedUpdate()

b)

LastUpdate()

c)

FinalUpdate()

d)

UpdateGUI()

7.

What is the role of the Rigidbody component?

a)

To make a GameObject shatter when a force is applied

b)

To add physics to a GameObject.

c)

To make a GameObject fall under gravity

d)

To make a GameObject behave like an object in the real world

8.

Which of these is an advantage of component-based software design?

a)

Separation of bugs

b)

Ease of Implementation

c)

Modularity

d)

Replayability

9.

What is the advantage of Modularity in component-based development?

a)

It is easier to add, remove, or replace functional units in a game object

b)

It is easier to isolate and fix any errors because each component is self-contained

c)

It is easier to separate the concerns of each component

d)

It is easier to assign specific functionality to a game object

10.

Is it time to go home now?

a)

What home? :(

b)

Yes, you have learned enough for one day

c)

If not, I'll scream

d)

Yes, you are all defeated!