C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

quiz-placeholder

Similar activities

Skill Development - Debugging Practice1

Skill Development - Debugging Practice1

10th Grade - Professional Development

10 Qs

Операторы If и Switch в C++

Операторы If и Switch в C++

10th Grade

13 Qs

AppsLab_Q2

AppsLab_Q2

10th Grade - Professional Development

10 Qs

Типы данных

Типы данных

7th Grade

10 Qs

C++ Fundamentals

C++ Fundamentals

4th Grade

10 Qs

Wprowadzenie do C++

Wprowadzenie do C++

8th Grade

10 Qs

C# Structured, Selection and Iteration

C# Structured, Selection and Iteration

9th Grade - University

15 Qs

Программирование C#

Программирование C#

1st - 10th Grade

10 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?