
C# Programming Quiz
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Mihály Kelemen
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mi a C#-ban a változó deklarálásának szintaxisa?
int myVariable;
var myVariable;
string myVariable;
double myVariable;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Melyik adattípus használatos egész számok tárolására C#-ban?
int
boolean
string
float
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mi a következő kód kimenete?
int x = 5;
int y = 3;
Console.WriteLine(x + y);
3
15
53
8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mi a C#-ban egy függvény célja?
Egy adott feladat végrehajtása egyszer a programban.
Egy változó definiálása C#-ban.
Kimenet megjelenítése a konzolon C#-ban.
Egy utasításkészlet vagy kód beburkolása, amely újrahasználható és többször hívható meg a programban.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hogyan lehet hozzáférni egy tömb első eleméhez C#-ban?
tömb[1]
tömb[-1]
tömb[első]
tömb[0]
6.
OPEN ENDED QUESTION
3 mins • 1 pt
What is the correct way to declare a string variable in C#?
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
What is the output of the following code? int x = 10; if (x > 5) { Console.WriteLine("x is greater than 5"); } else { Console.WriteLine("x is less than or equal to 5"); }
Evaluate responses using AI:
OFF
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
Control Structures
Quiz
•
12th Grade
15 questions
Soal Java
Quiz
•
11th Grade - University
15 questions
ÔN TẬP CN LỚP 3
Quiz
•
4th Grade - University
15 questions
Python Programming
Quiz
•
5th Grade - University
15 questions
Unit 2 Test Review
Quiz
•
9th - 12th Grade
15 questions
Python2
Quiz
•
8th Grade - University
15 questions
Intro to Java Loops
Quiz
•
9th - 12th Grade
12 questions
Python
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
