
C# Data Types and Identifiers Quiz 2
Quiz
•
Information Technology (IT)
•
12th Grade
•
Practice Problem
•
Medium
Rachel J. Vergara
Used 2+ times
FREE Resource
Enhance your content in a minute
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);
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
43 questions
EXAMEN DE MICROSOFT ACCESS
Quiz
•
12th Grade
45 questions
INFORMATIKA JARINGAN KOMPUTER DAN INTERNET
Quiz
•
10th Grade - University
40 questions
TIK-9
Quiz
•
8th Grade - University
40 questions
BTUI'24 - Inter-school ICT Quiz - Quarter Finals
Quiz
•
12th Grade - University
40 questions
Class 11-12
Quiz
•
12th Grade
35 questions
Soal Arduino Wokwi
Quiz
•
12th Grade
35 questions
SOAL ATS GENAP JAVA
Quiz
•
12th Grade
38 questions
Kuis Pengetahuan Teknologi
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
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
15 questions
Exponential Growth and Decay Word Problems Practice
Quiz
•
9th - 12th Grade
18 questions
AP Bio Insta-Review Topic 6.1*: DNA & RNA Structure
Quiz
•
9th - 12th Grade
