
Game Engine Scripting Quiz

Quiz
•
Computers
•
12th Grade
•
Easy
Paul Oliver
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for declaring an integer array in C#?
int[] levelUps = new int[] {10, 23, 59};
int levelUps = new int[10, 23, 59];
int levelUps = new int {10, 23, 59};
int levelUps = {10, 23, 59};
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for declaring a list of integers in C#?
List
List scores = new List<int>;
List <int> scores = new List();
List<int> scores = new List<int>();
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the method used to add elements to a list in C#?
Insert()
Push()
Add()
Append()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the key feature of a list that allows the removal of elements from it?
Remove()
Delete()
Erase()
Eliminate()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax to access the second element in an array in C#?
levelUps[1]
levelUps[0]
levelUps[2]
levelUps[3]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax to access the first element in a list in C#?
scores[2]
scores[1]
scores[0]
scores[3]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one strength of using lists instead of arrays in C#?
To store sequential information efficiently
To easily add or remove elements at runtime
To access elements using index
To declare and initialize variables
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What might arrays be used for in a game development scenario?
To declare and initialize variables
To remove elements from the list
To create a grid-based game
To import C# library
Similar Resources on Wayground
10 questions
Objects & Classes

Quiz
•
11th - 12th Grade
12 questions
C++ References

Quiz
•
6th - 12th Grade
8 questions
J277 - 2.2 - Random Number Generation

Quiz
•
10th Grade - University
10 questions
BIM Final

Quiz
•
9th - 12th Grade
10 questions
Recursion in Java (AP Computer Science A)

Quiz
•
9th - 12th Grade
11 questions
CodeHS 5.3 Using Arrays

Quiz
•
9th - 12th Grade
11 questions
Trabajando con ArrayList

Quiz
•
9th - 12th Grade
10 questions
Evaluating Web Resources

Quiz
•
4th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade