
C# Data Types and Identifiers Quiz 2

Quiz
•
Information Technology (IT)
•
12th Grade
•
Medium
Rachel J. Vergara
Used 2+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a valid identifier in C#?
1number
firstName
class
new
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What keyword is used to declare a constant in C#?
var
static
const
final
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a C# keyword?
score
data
length
public
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these cannot be used as an identifier unless prefixed with @?
PI
class
Temp_1
dataType
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What happens if you try to assign a new value to a constant?
The value changes
A compilation error occurs
The value is updated at runtime
Nothing happens
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which data type stores a single Unicode character?
string
bool
int
char
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the correct syntax to declare a variable of type int with a value of 25?
int age = 25;
int = 25 age;
25 = int age;
int age(25);
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
DPK 2025

Quiz
•
12th Grade
44 questions
Python Functions Quiz

Quiz
•
12th Grade
37 questions
8 класс цикл

Quiz
•
8th Grade - University
35 questions
Memory Types and Functions Quiz

Quiz
•
12th Grade
45 questions
Latihan Pemantapan Informatika

Quiz
•
9th - 12th Grade
35 questions
Python alapok gyakorló

Quiz
•
9th - 12th Grade
40 questions
Quiz Komputer dan Sistem Operasi

Quiz
•
12th Grade
35 questions
Latihan Soal Informatika Kelas 7

Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
7 questions
EAHS PBIS Lesson- Bathroom

Lesson
•
9th - 12th Grade
57 questions
How well do YOU know Neuwirth?

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
4 questions
Study Skills

Lesson
•
5th - 12th Grade
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University