Create with Code - Unit 1 review

Create with Code - Unit 1 review

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Python Variables

Python Variables

7th - 12th Grade

10 Qs

Year 5 - 1.1 Assigning Variables

Year 5 - 1.1 Assigning Variables

5th Grade - University

10 Qs

PLTW Activity 1.1.4 Guess a Number

PLTW Activity 1.1.4 Guess a Number

9th Grade

13 Qs

Python

Python

5th - 10th Grade

10 Qs

Python Built-in Functions

Python Built-in Functions

11th - 12th Grade

15 Qs

Variables, Constants, and Data Types

Variables, Constants, and Data Types

10th Grade

15 Qs

AP Computer Science Principles Unit 3 Review

AP Computer Science Principles Unit 3 Review

9th - 12th Grade

10 Qs

Code.org Unit 5 Vocab Quiz 1

Code.org Unit 5 Vocab Quiz 1

9th - 12th Grade

10 Qs

Create with Code - Unit 1 review

Create with Code - Unit 1 review

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Kelly Herbert

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Which Unity window contains a list of all the game objects currently in your scene?

Scene View

Project window

Hierarchy

Inspector

Answer explanation

The Hierarchy window contains a list of every GameObject in the current

Scene. As objects are added and removed in the Scene, they will appear and

disappear from the Hierarchy as well.

2.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

True or False: Visual Studio is not a part of Unity. You could use a different code editor to edit your C# scripts if you wanted to.

True

False

Answer explanation

True. Visual Studio is just one of many editors you could use to edit your

code, including editors like Atom, Sublime, or even a basic Text Editor.

3.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Media Image

What best describes the difference between the below images, where the car is in the second image is further along the road?

The second car’s X location value is higher than the first car’s

The second car’s Y location value is higher than the first car’s

The second car’s Z location value is higher than the first car’s

The second car’s Transform value is higher than the first car’s.

Answer explanation

You can tell which axis the car has moved along using the XYZ directional gizmo in the top-right, which shows the blue axis pointing forwards down the road.

4.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Media Image

In what order do you put the words when you are

declaring a new variable?

[data type] [access modifier]

[variable value] [variable name]

[access modifier] [data type]

[variable name] [variable value]

[data type] [access modifier]

[variable name] [variable value]

[variable name] [data type]

[access modifier] [variable value]

Answer explanation

Variables are always declared in the order:

[access modifier] - public, private, etc

[data type] - float, int, GameObject, etc

[variable name] - speed, turnSpeed, player, offset, etc

[variable value] - 1.0f, 2, new Vector3(0, 1, 0), etc

5.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Media Image

Which of the following variables would be visible in the Inspector?

speed

turnSpeed

speed & turnSpeed

horizontalInput & forwardInput

Answer explanation

“public float speed” would be visible because it has the “public” modifier

applied to it

6.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Media Image

What is a possible value for the horizontalInput variable?

-10

0.52

"Right"

Vector3.Up

Answer explanation

Input.GetAxis returns a float value between -1 and 1, which means 0.52 is a

possible value

7.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Media Image

What is true about the following two lines of code?

They will both move an object

the same distance

They will both move an object

in the same direction

They will both move an object

along the same axis

They will both rotate an object,

but along different axes

Answer explanation

Vector3.forward is the equivalent of (0, 0, 1), which has the same magnitude as (1, 0, 0), even though they’re in different directions, so they would both move an object the same distance, but along different axes

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?