C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

quiz-placeholder

Similar activities

ПР_X_CPP

ПР_X_CPP

9th - 12th Grade

11 Qs

C# 101 Mid-Semester Review

C# 101 Mid-Semester Review

9th - 12th Grade

12 Qs

С№ 15

С№ 15

10th Grade

10 Qs

C# 12

C# 12

10th Grade

10 Qs

C# 16

C# 16

10th Grade

10 Qs

L1 Console, Variables and Creating a Program

L1 Console, Variables and Creating a Program

8th Grade

10 Qs

Python Basic Unit 1

Python Basic Unit 1

7th - 8th Grade

14 Qs

C# lesson10

C# lesson10

Assessment

Quiz

Computers

1st - 10th Grade

Hard

Used 30+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Выберите строчку с правильно созданным массивом.

int[] array = new int[return = ""];

int[] array = new int[public bool];

int[] array = new int[6];

int array = new int;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Выберите строчку с правильно созданным циклом.

for(int; i = 0;i++){}

for(i++){}

for(int i = 0; i = 0;i++){}

for(int i = 0; i < 10;i++){}

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Выберите строку где допущены ошибки.

int a = 54;

float b = 23.4f;

string c = "str123";

int a = 4;

float b = 4f;

string c = "4";

int a = 5.5;

float b = 4f;

string c = 4;

int a = 51;

float b = 4.6f;

string c = "";

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Как правильно создать метод?

public void method(int a, int b){}

public method(int a, int b){}

public void method(a,b ){}

method(int a, int b){}

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Выберите методы с возвращаемым значением.

public int method(int a, int b)

public void method(int a, int b)

public float method(int a, int b)

public string method(int a, int b)

public void method(int a, int b)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Что выведет программа на консоль ?

string str = "qwert";

Console.WriteLine(str[3]);

q

w

e

r

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Выберите строчку без ошибок .

if (4 > ""){}

if (4 = 4){}

if (214 > 12 * 4){}

if (4213){}

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?