
C# quiz
Authored by Hustler YT
Information Technology (IT)
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the correct way to declare a variable in C#?
a) int x = 10;
b) x = 10 int;
c) variable int x = 10;
d) int: x = 10;
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of these is the correct way to write a comment in C#?
a) // This is a comment
b) /* This is a comment */
c) Both a) and b)
d) None of the above
3.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
A __________ is used to store a value in C#
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
int a = 5;
int b = 10;
Console. WriteLine(a + b);
5
10
15
error
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The keyword __________ is used to display output in the console in C#.
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
Quiz 1 Normalisasi
Quiz
•
University
10 questions
Data Visualization with Qlik Cloud
Quiz
•
University
10 questions
Los 10 escalones
Quiz
•
University
10 questions
Remedial Pengetahuan DNS
Quiz
•
11th Grade - University
10 questions
Koding dan Kecerdasan Buatan
Quiz
•
12th Grade
10 questions
Типы данных. Переменные. Операции в Java
Quiz
•
University
10 questions
TEST_10
Quiz
•
University
10 questions
Práctica 1. Tecnologías emergentes y la curva de Gartner_B2
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
23 questions
TSI Math Vocabulary
Quiz
•
10th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
Predicting Products
Quiz
•
9th - 12th Grade
20 questions
Presidents Day challenge
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade