Scripting
Comments
Statements
Source Code
100

What are the main parts of a default C# Unity script?

namespace 

class

Start function

Update Function

100

What are Comments?

lines of text that programmers use to describe what lines of code are doing for the benefit of human readers.

100

What is a statement?

an individual piece of code that performs some action.

100

What is a source code file?

Human readable instructions or commands for the computer

200

What do we call an object in C# terms?

Class

200

What 2 ways can you make a comment

Single-lined and Multi-lined

200

How is an end-of-statement identified?

with a semi-colon

200

When you create a file for c#, what extension will it have

.cs

300

How are curly braces used in C# scripts?

They are used to mark the beginning and end of code 

300

Why don't comments affect the source code.

Comments are plain texted

they do no contain any program code

300

Where would a statement be placed?

Within a function

300

What are the 2 default namespaces

UnityEngine

System.Collections

400

What is the purpose and format of a function?

 Functions are blocks of code that you may want to re-use over and over again. 

void Start () 

{

}

400

How do you begin a single-lined Comment?

double forward slash (//)

400

What's the purpose of the Debug.Log Statement?

It will print a message to the console when the game is running.

400

The MonoBehaviour class is from what namespace?

UnityEngine

500

What are namespaces and how are they accessed from a script?

namespace contains a group of related objects

500

How do you begin and end a Multi-line comment?

start with  /* and end with */

500

What keyword should you use in order for the namespace to work properly in your code?

using

M
e
n
u