Daniel Popel

Quiz
•
Information Technology (IT)
•
8th Grade
•
Hard
Даниэль Попель
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает оператор continue в Python?
Прерывает выполнение цикла полностью
Пропускает текущую итерацию и переходит к следующей
Завершает программу
Ничего не делает
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что выведет следующий код?
for i in range(5):
if i == 2:
continue
print(i)
0 1 2 3 4
0 1 3 4
0 1 2 4
1 3 4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
В каких циклах можно использовать continue?
Только в for
Только в while
В for и while
Ни в одном
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что выведет данный код?
x = 0
while x < 5:
x += 1
if x == 3:
continue
print(x)
1 2 3 4 5
1 2 4 5
1 2 3
2 3 4 5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой результат выполнения следующего кода?
for i in range(3):
print("Начало итерации")
continue
print("Конец итерации")
Код не выполнится
Выведет "Начало итерации" 3 раза
Выведет "Конец итерации" 3 раза
Программа завершится ошибкой
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Какой вариант правильно использует continue для пропуска чётных чисел в цикле?
for i in range(10):
if i % 2 == 0:
print(i)
continue
for i in range(10):
continue
if i % 2 == 0:
print(i)
for i in range(10):
if i % 2 == 0:
continue
print(i)
for i in range(10):
print(i)
if i % 2 == 0:
continue
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Для чего может быть полезен continue?
Чтобы завершить выполнение программы
Чтобы пропустить ненужные элементы в цикле
Чтобы создать бесконечный цикл
Чтобы удалить элементы из списка
Similar Resources on Wayground
10 questions
питончки

Quiz
•
8th Grade
10 questions
МЦКО

Quiz
•
8th Grade - University
10 questions
7 класс программирование

Quiz
•
7th Grade - University
6 questions
Python 4 занятие

Quiz
•
6th - 8th Grade
10 questions
8 класс Линейные программы

Quiz
•
8th Grade
11 questions
2 lesson

Quiz
•
6th - 8th Grade
10 questions
Python Basics Quiz for Grade 8

Quiz
•
8th Grade
10 questions
8 клас Типи даних у програмуванні. Введення й виведення даних. В

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
4 questions
End-of-month reflection

Quiz
•
6th - 8th Grade
10 questions
Understanding the Scientific Method

Interactive video
•
5th - 8th Grade
20 questions
Scientific method and variables

Quiz
•
8th Grade