Search Header Logo

Лекция 5 Циклы в C# рус

Authored by СМАГУЛОВА ЛАУРА

Computers

University

Used 3+ times

Лекция 5 Циклы  в C# рус
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Какой оператор цикла используется, когда заранее известно количество повторений?

do-while

for

while

foreach

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Какой из следующих операторов позволяет выйти из цикла досрочно?

continue

exit

break

return

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Какой оператор цикла выполняет блок кода хотя бы один раз?

foreach

do-while

while

for

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Какой из следующих операторов используется для перебора элементов коллекции?

for

while

do-while

foreach

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Какой оператор используется для перехода к следующей итерации цикла?

return

exit

continue

break

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Что выведет следующий код?

int a = 3;

for (int i = 0; i < 5; i += a / 3)

{

Console.Write(i + " ");

a++;

}

0 1 2 3 4

0 1 3

0 1 2

бесконечный цикл

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Чем отличается цикл while от do-while?

do-while выполнится хотя бы один раз

do-while быстрее, чем while

while выполняется ровно один раз

Между ними нет разницы

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?