Quiz de Programare C#

Quiz de Programare C#

6th - 8th Grade

6 Qs

quiz-placeholder

Similar activities

latihan 1 PAS PJOK kelas 6

latihan 1 PAS PJOK kelas 6

6th Grade

10 Qs

VẬT LÍ 8 - BÀI 1 - CĐ CƠ HỌC

VẬT LÍ 8 - BÀI 1 - CĐ CƠ HỌC

8th Grade

10 Qs

INICIACION AL VOLEIBOL ESCOLAR

INICIACION AL VOLEIBOL ESCOLAR

7th Grade

10 Qs

Healthy Snacks

Healthy Snacks

7th - 9th Grade

10 Qs

Team and Individual Sports

Team and Individual Sports

6th - 8th Grade

10 Qs

Basket 3 - le tir / le lancer

Basket 3 - le tir / le lancer

3rd - 8th Grade

11 Qs

Penjasorkes kls 8 D

Penjasorkes kls 8 D

8th Grade

10 Qs

Protocolo Covid IES Saladillo

Protocolo Covid IES Saladillo

7th - 12th Grade

10 Qs

Quiz de Programare C#

Quiz de Programare C#

Assessment

Quiz

Physical Ed

6th - 8th Grade

Practice Problem

Hard

Created by

Gheorghe Carmocanu

FREE Resource

AI

Enhance your content in a minute

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

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