Search Header Logo

Массивы в C#

Authored by Konstantin Konstantin

Computers

9th - 12th Grade

Used 4+ times

Массивы в C#
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

30 sec • 1 pt

Как объявить массив в C#?

int arrayName[];

int[] arrayName;

arrayName = int[];

arrayName = new int[];

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Как инициализировать массив в C#?

int[] arrayName = new int[];

int[] arrayName = new int[size];

arrayName = new int[size];

int arrayName[size];

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Как получить доступ к элементу массива по индексу в C#?

arrayName{index}

arrayName.index

arrayName[index]

arrayName.get(index)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Как узнать длину массива в C#?

array.Size

array.Length()

array.Count

array.Length

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Как изменить значение элемента массива в C#?

array.modify(index, newValue);

array.set(index, newValue);

array.setValue(index, newValue);

array[index] = newValue;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Как проверить наличие элемента в массиве в C#?

element in array

array.IndexOf(element) != -1

array.ContainsElement(element)

array.Contains(element)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какой индекс у элемента "Валентина" в массиве

string[] friends = {"Валентина", "Игорь", "Вероника", "Маргарита"}?

1

2

3

0

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?