
Вопросы по 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
Podcast
Quiz
•
6th - 12th Grade
14 questions
General knowledge quiz
Quiz
•
5th Grade - Professio...
10 questions
Psicología del trabajo y desarrollo Organizacional
Quiz
•
KG - University
10 questions
ACTIVIDAD 3 BEOWUFL -11B
Quiz
•
5th - 11th Grade
10 questions
Chapitre introductif: économie, sociologie, science politique
Quiz
•
1st - 12th Grade
10 questions
BERITA
Quiz
•
8th Grade
10 questions
Ôn tập về tìm hai số khi biết Tổng và Hiệu của hai số đó
Quiz
•
4th - 12th Grade
14 questions
INFINITIVE\GERUND
Quiz
•
8th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
