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
8 класс тест

Quiz
•
8th Grade
9 questions
Викторина без названия

Quiz
•
6th Grade - University
7 questions
Lekcja 1.3

Quiz
•
4th Grade - University
10 questions
“Elektron pochtada ishlashni boshlash” (5-sinf))

Quiz
•
5th Grade - University
6 questions
11. Операційна система та її інтерфейс

Quiz
•
4th Grade - University
11 questions
Python (basics)

Quiz
•
1st Grade - University
10 questions
Циклы в программировании

Quiz
•
8th Grade
12 questions
Основы алгоритмизации для 8 класса

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

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

Interactive video
•
6th - 10th Grade
10 questions
Fast Food Slogans

Quiz
•
6th - 8th Grade
10 questions
Parallel Lines Cut by a Transversal

Quiz
•
8th Grade
20 questions
Figurative Language Review

Quiz
•
8th Grade
4 questions
End-of-month reflection

Quiz
•
6th - 8th Grade