
Game Engine Scripting Quiz
Authored by Paul Oliver
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Excel Data Validation Quiz
Quiz
•
9th - 12th Grade
10 questions
Conhecimentos prévios em Java
Quiz
•
10th - 12th Grade
10 questions
Python Testing
Quiz
•
9th - 12th Grade
11 questions
Operační systémy - základ 3R
Quiz
•
12th Grade
10 questions
Vertex AI Pipelines V1
Quiz
•
12th Grade
10 questions
Data Structures Quiz
Quiz
•
12th Grade
10 questions
Windows 7 Installation
Quiz
•
10th - 12th Grade
10 questions
Q & A 1
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade