Search Header Logo

C# lesson10

Computers

1st - 10th Grade

Used 30+ times

C# lesson10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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){}

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?