Quiz de Programare C#

Quiz de Programare C#

6th - 8th Grade

6 Qs

quiz-placeholder

Similar activities

VẬT LÍ 7 - KTC1

VẬT LÍ 7 - KTC1

7th Grade

10 Qs

Keselamatan di jalan raya

Keselamatan di jalan raya

8th Grade

10 Qs

TO IPA 2

TO IPA 2

1st - 10th Grade

10 Qs

BÀI TẬP CƠ NĂNG

BÀI TẬP CƠ NĂNG

8th Grade

10 Qs

FUNDAMENTOS TECNICOS DEL BALONCESTO

FUNDAMENTOS TECNICOS DEL BALONCESTO

6th Grade

10 Qs

Scoring in Sport

Scoring in Sport

7th - 10th Grade

10 Qs

PJJ PJOK KELAS 4

PJJ PJOK KELAS 4

1st - 12th Grade

10 Qs

Quiz de Programare C#

Quiz de Programare C#

Assessment

Quiz

Physical Ed

6th - 8th Grade

Hard

Created by

Gheorghe Carmocanu

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Care va fi rezultatul următorului cod C#? static void Main(string[] args) { int a = 5; int b = 10; int c; Console.WriteLine(c = ++ a + b ++); Console.WriteLine(b); Console.ReadLine(); }

11, 10

15, 11

16, 11

16, 10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Care va fi rezultatul următoarei conversii de cod C#? static void Main(string[] args) { char a = 'A'; string b = "a"; Console.WriteLine(Convert.ToInt32(a)); Console.WriteLine(Convert.ToInt32(Convert.ToChar(b))); Console.ReadLine(); }

1, 97

97, 65

65, 97

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Care va fi rezultatul următorului cod C#? int a,b; a = (b = 10) + 5;

b = 15, a = 5

b = 10, a = 5

a = 15, b = 10

a = 10, b = 10

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Care va fi rezultatul următorului cod C#? static void Main(string[] args) { const int a = 5; const int b = 6; for (int i = 1; i = new int[2,3];

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

În ce linie a fost comisă o eroare? int[] numbers = {1, 2, 3, 4, 5}; for (int i = 0; i = new int[5];

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 1 pt

int array = new int[5];

Evaluate responses using AI:

OFF