
Викторина по языку программирования Python

Quiz
•
Information Technology (IT)
•
9th Grade
•
Easy
whitemoontears whitemoontears
Used 1+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой оператор используется для создания бесконечного цикла в Python?
do
if
while
for
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой из следующих операторов используется для выхода из цикла?
return
exit
break
continue
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой из следующих вариантов является правильным синтаксисом цикла while?
while условие: действие
while (условие) { действие }
while: действие
while условие действие
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает оператор continue в цикле?
Завершает цикл
Начинает новый цикл
Пропускает текущую итерацию
Выводит сообщение
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой из следующих вариантов правильно использует функцию range()?
Все вышеперечисленные
for i in range(1, 10, 2):
for i in range(10):
for i in range(1, 10):
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой результат будет выведен при выполнении следующего кода: for i in range(2, 8, 3): print(i)?
2, 3, 4, 5, 6, 7
2, 5
2, 3, 4, 5, 6
2, 5, 8
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой из следующих операторов используется для проверки логического условия?
while
for
if
switch
Create a free account and access millions of resources
Similar Resources on Wayground
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
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
20 questions
Cell Organelles

Quiz
•
9th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
15 questions
Two Step Equations

Quiz
•
9th Grade
17 questions
Continents and Oceans

Lesson
•
5th - 9th Grade