Daniel Popel
Quiz
•
Information Technology (IT)
•
8th Grade
•
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?
Чтобы завершить выполнение программы
Чтобы пропустить ненужные элементы в цикле
Чтобы создать бесконечный цикл
Чтобы удалить элементы из списка
Similar Resources on Wayground
12 questions
Ulangan Harian Bekerja dengan Data Terstruktur
Quiz
•
8th Grade
10 questions
Wprowadzenie do Cyberbezpieczeństwa
Quiz
•
8th Grade
10 questions
Online Scenarios: Sus or Trust🔍
Quiz
•
6th - 8th Grade
10 questions
Uji Pengetahuan Sistem Operasi
Quiz
•
8th Grade
9 questions
8_klass_scratchВопросы по программированию
Quiz
•
1st Grade - University
7 questions
Lekcja 2.3
Quiz
•
5th Grade - University
6 questions
Q4W9-D1Computing - Project Class Activity
Quiz
•
8th Grade
10 questions
SISTEM KOMPUTER
Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Information Technology (IT)
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
6 questions
Veterans Day
Lesson
•
8th Grade
13 questions
Finding slope from graph
Quiz
•
8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
20 questions
Slope from a Graph
Quiz
•
8th Grade
