
Вопросы по Python
Quiz
•
Education
•
8th Grade
•
Practice Problem
•
Hard
Oksana O
Used 2+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает цикл for в Python?
Выполняет код один раз
Выполняет код несколько раз, пока выполняется условие
Перебирает элементы последовательности
Выполняет код бесконечно
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какая из строк правильно создаёт цикл for?
for x in 10:
for x in range(10):
for (x = 0; x < 10; x++):
for x to 10:
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что вернёт range(5)?
[0, 1, 2, 3, 4]
[1, 2, 3, 4, 5]
[5, 4, 3, 2, 1]
[0, 1, 2, 3, 4, 5]
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Какой код напечатает числа от 1 до 5?
for i in range(5): print(i)
for i in range(1, 6): print(i)
for i in range(0, 5): print(i + 1)
Все вышеперечисленные
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как называется переменная, которая перебирается в цикле `for`?
Итератор
Генератор
Счётчик
Объект
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой результат будет у следующего кода? for i in range(3): print(i)
0 1 2
1 2 3
0 1 2 3
Ошибка
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что выведет следующий код? for i in range(2, 10, 3): print(i)
2 5 8
2 4 6 8
2 3 4 5 6 7 8 9
Ошибка
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
Desenvolvimento Individual 3º
Quiz
•
1st - 12th Grade
10 questions
2021 CNY Quiz (P2)
Quiz
•
7th - 8th Grade
10 questions
Bài 4 : Bản vẽ các khối đa diện
Quiz
•
8th Grade
10 questions
SUARA DEMOKRASI KELAS 8
Quiz
•
8th Grade
10 questions
Bajka o maszynie cyfrowej...S.Lem
Quiz
•
6th - 8th Grade
10 questions
Công dân với các quyền tự do cơ bản
Quiz
•
1st Grade - University
10 questions
Telling the Dream
Quiz
•
6th Grade - University
13 questions
Indagación conocimiento previos
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
