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
12 questions
12 Principles of Animation
Quiz
•
8th Grade
10 questions
Quiz sobre la evolución de las computadoras
Quiz
•
4th Grade - University
8 questions
LATIHAN PENGUKUHAN (RBT TINGKATAN : 2.2 SISTEM MEKANIKAL)
Quiz
•
8th Grade
5 questions
Блиц-опрос
Quiz
•
7th Grade - University
5 questions
What Makes an Effective Presentation?
Quiz
•
7th Grade - University
10 questions
Ch2變數與運算式-綜合演練選擇題
Quiz
•
6th - 8th Grade
10 questions
Викторина по языку Python
Quiz
•
6th - 8th Grade
12 questions
Ulangkaji ASK
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
20 questions
Figurative Language Review
Quiz
•
8th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
22 questions
Newton's Laws of Motion
Lesson
•
8th Grade
24 questions
3.1 Parallel lines cut by a transversal
Quiz
•
8th Grade
20 questions
Slope from a Graph
Quiz
•
8th Grade
