Quiz de Programare C#

Quiz de Programare C#

6th - 8th Grade

6 Qs

quiz-placeholder

Similar activities

Test Educatie Fizica Florescu

Test Educatie Fizica Florescu

6th - 8th Grade

6 Qs

7 ANO

7 ANO

7th Grade

10 Qs

Recuperação sobre Jogos Eletrônicos

Recuperação sobre Jogos Eletrônicos

7th Grade - University

10 Qs

JOGOS ELETRÔNICOS

JOGOS ELETRÔNICOS

7th Grade

7 Qs

Sejarah MAPAN & Start Up di Indonesia

Sejarah MAPAN & Start Up di Indonesia

1st - 10th Grade

10 Qs

Inside Out Week 8 - 9G1

Inside Out Week 8 - 9G1

7th - 9th Grade

6 Qs

Pendidikan Jasmani

Pendidikan Jasmani

6th Grade

10 Qs

Latihan Soal Tenis Meja

Latihan Soal Tenis Meja

7th - 9th 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