C# Programming Quiz

C# Programming Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

Python Testing

Python Testing

9th - 12th Grade

10 Qs

Programación y sistemas de información 3º I

Programación y sistemas de información 3º I

12th Grade

14 Qs

BÀI 17

BÀI 17

9th - 12th Grade

10 Qs

แบบทดสอบเรื่องการรับค่าในภาษาไพทอน (รายบุคคล)

แบบทดสอบเรื่องการรับค่าในภาษาไพทอน (รายบุคคล)

9th - 12th Grade

10 Qs

Break the fear

Break the fear

11th - 12th Grade

10 Qs

Conhecimentos prévios em Java

Conhecimentos prévios em Java

10th - 12th Grade

10 Qs

Functions

Functions

5th Grade - Professional Development

13 Qs

Class 12 Recursion

Class 12 Recursion

12th Grade - University

10 Qs

C# Programming Quiz

C# Programming Quiz

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Mihály Kelemen

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?