Daniel Popel
Quiz
•
Information Technology (IT)
•
8th Grade
•
Practice Problem
•
Hard
Даниэль Попель
FREE Resource
Enhance your content in a minute
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?
Чтобы завершить выполнение программы
Чтобы пропустить ненужные элементы в цикле
Чтобы создать бесконечный цикл
Чтобы удалить элементы из списка
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?
Similar Resources on Wayground
10 questions
Common Webpage Buttons
Quiz
•
8th Grade - University
9 questions
Увлекательный мир Python
Quiz
•
6th Grade - University
10 questions
Struktur Data
Quiz
•
8th Grade
11 questions
ESTRUTURAS DE REPETIÇÃO
Quiz
•
6th - 8th Grade
10 questions
Informatika Kelas 8
Quiz
•
8th Grade
12 questions
Тест з теми 'Списки – змінювані послідовності'
Quiz
•
7th Grade - University
10 questions
INFOKOM 8
Quiz
•
8th Grade
10 questions
Quiz sobre Sistemas Operativos CEF 24/25
Quiz
•
8th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
5 questions
Legends, Leaders, & Changemakers: Maya Angelou
Interactive video
•
6th - 8th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
15 questions
Product of Powers Property A1 U7
Quiz
•
8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
16 questions
8th U5L5 Graphs of Functions
Quiz
•
8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
