
S For loops
Authored by Svetlana Stroganova
Computers
10th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какие числа напечатает следующий код?
for i in range (0,10,2):
print(i)
0,2,4,6,8
0,1,2,3,4,5,6,7,8,9,10
0,2,4,6,8,10
0,1,2,3,4,5,6,7,8,9
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой будет выход у следующего кода?
for k in range(0,5):
print(k)
1
2
3
4
1
2
3
4
5
0
1
2
3
4
5
0
1
2
3
4
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Какой код поможет решить следующую задачу:
Вывод на экран n целых чисел начиная с 0 (n вводится пользователем):
n = input("Введите количество чисел: ")
for i in range(n):
print(i)
n = int(input("Введите количество чисел: "))
for i in range(n):
print(i)
n = int(input("Введите количество чисел: "))
for i in range(n):
input(i)
n = int(input("Введите количество чисел: "))
for n in range(n):
print(n)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Какой код будет верен для решения следующей задачи?
Выведите на экран 3 четных числа, начиная с 2
for i in range(2,7,2):
print(i)
for i in range(0,4,3):
print(i)
for i in range(0,3,2):
print(i)
for i in range(2,7):
print(i)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Какой код надо применить, чтобы решить следующую задачу?
Посчитай сумму чисел от 1 до 10(включая 10)
for i in range(1,10):
k = k+ i
k=0
for i in range(1,11):
k = k+ i
for i in range(1,11):
k = k+ i
k=0
for i in range(1,10):
k = k+ i
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Какой код применим для решения следующей задачи?
Выведите на экран все числа в диапазоне от 3 до 7 (включая числа 3 и7)
for i in range(3,8)
print(i)
for i in range(3,7):
print(i)
for i in range(0,7):
print(i)
for i in range(3,8):
print(i)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Какой код применим для решения следующей задачи?
Выведите на экран все числа в диапазоне от 4 до 10 (число 10 включаем) с шагом 3
for i in range(4,10,3):
print (i)
for i in range(4,10):
print (i)
for i in range(4,3,10):
print (i)
for i in range(4,12,3):
print (i)
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
Creating Database Tables
Quiz
•
8th - 10th Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 - LỚP 3
Quiz
•
1st - 10th Grade
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
10 questions
acTIC - Competència 6.1 – Conceptes bàsics full de càlcul
Quiz
•
10th Grade
15 questions
Входной тест по информатике_1 курс
Quiz
•
9th - 10th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
10 questions
Назад в 90-е
Quiz
•
5th - 11th Grade
15 questions
tpr2_u0_initial test
Quiz
•
10th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade