Loop FOR basics
Quiz
•
Computers
•
1st - 5th Grade
•
Practice Problem
•
Easy
Николай Прилуцкий
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Найдите ошибку в коде:
for i in range(5)
print(i)
Отсутствует двоеточие " : " после range(5)
Неправильное использование print
Ошибка в названии переменной i
Цикл for не может использоваться с range()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Найдите ошибку в коде
Неправильное использование range(5)
Отсутствует отступ у строки print(i * 2)
Ошибка в операции i * 2
Цикл for должен быть заменен на while
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Найдите ошибку в коде:
for i in range(1, 10, 2):
print("Число:", i
Цикл for не может использоваться с шагом 2
Ошибка в названии переменной i
Неправильное использование range(1, 10, 2)
Пропущена закрывающая скобка в print("Число:", i)
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Что выведет этот код?
for i in range(3):
print(i)
0
1
2
1
2
3
3
2
1
0
1
2
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Что выведет этот код?
for i in range(1, 5):
print(i * 2)
1
2
3
4
2
4
6
8
0
1
2
3
4
5
1
3
5
7
6.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Что выведет этот код?
for i in range(10, 0, -2):
print(i)
10
8
6
4
2
10
8
6
4
2
0
10
9
8
7
6
5
4
3
2
1
0
0
2
4
6
8
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Сколько итераций ("кругов") выполнится в этом цикле?
for i in range(4):
print("i + 1")
4
3
5
1
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
15 questions
Gõ chữ có dấu
Quiz
•
4th Grade
9 questions
MinecraftPython Test 1
Quiz
•
5th - 6th Grade
10 questions
ICT 5 EPP
Quiz
•
5th - 6th Grade
15 questions
Prueba Objetiva, Segundo grado. Escribe el nombre completo
Quiz
•
2nd Grade
15 questions
(ASK T2) 2.1.3 Menggunakan pseudokod & carta alir
Quiz
•
2nd Grade
13 questions
Powtórka z arkusza
Quiz
•
1st - 6th Grade
8 questions
Role Of Computers
Quiz
•
1st - 2nd Grade
10 questions
Sprawdź się
Quiz
•
4th - 12th 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
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
