
Тест по Циклам Python (Cycles2)
Authored by Igor Dedik
Information Technology (IT)
9th Grade
Used 38+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой из этих циклов выполняется, пока условие истинно?
for
while
if
switch
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой цикл чаще используется, если заранее известно количество повторений или когда требуется осуществить перебор, например строки?
for
while
do-while
if
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Сколько раз выполнится следующий цикл?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает range(5) в цикле for?
Создаёт список чисел от 1 до 5
Создаёт диапазон чисел от 0 до 4
Вызывает ошибку
Ничего
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что напечатает этот код?
2
4
5
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как остановить бесконечный while-цикл?
return
break
continue
pass
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Каким будет значение i после выполнения цикла?
0
2
3
Ошибка
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?