
Вопросы по 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
Telling the Dream
Quiz
•
6th Grade - University
13 questions
Indagación conocimiento previos
Quiz
•
1st - 12th Grade
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
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 Education
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
