Цикл for в Python

Quiz
•
Computers
•
8th Grade
•
Medium
Almaz Ziganshin
Used 4+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Какая структура имеет цикл for в Python?
for (int i = 0; i < n; i++)
for i in range(n):
for i = 1 to n
for (i = 0; i < n; i++)
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Что означает выражение 'for i in range(5)'?
Цикл будет выполняться 5 раз
Цикл будет выполняться 4 раза
Цикл будет выполняться 6 раз
Цикл будет выполняться 10 раз
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Какой символ используется для переменной цикла, если она не используется в теле цикла?
_
z
y
x
4.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Что распечатает следующий код:
for i in range(4):
print(i + 1)?
0 1 2 3
1 2 3 4
1 2 3
2 3 4 5 6
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Что означает правая граница цикла в Python?
Она включается в цикл
Она не включается в цикл
Она уменьшается в цикле
Она удваивается в цикле
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Что означает однократное выполнение тела цикла?
Итерация цикла
Инкремент цикла
Декремент цикла
Индекс цикла
Similar Resources on Wayground
10 questions
Roblox 11

Quiz
•
3rd - 12th Grade
10 questions
Основы программирования на языке Паскаль

Quiz
•
8th - 11th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
10 questions
Занятие_11_09

Quiz
•
6th - 8th Grade
10 questions
while loop

Quiz
•
8th Grade
10 questions
Основные алгоритмические конструкции

Quiz
•
8th - 9th Grade
10 questions
Untitled Quiz

Quiz
•
8th Grade
5 questions
8 кл. 31 урок Актуализация знаний "Программирование алгоритмов"

Quiz
•
6th - 8th Grade
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 Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade