The program above:

python loop 7th

Quiz
•
Computers
•
7th Grade
•
Hard
Ержан Ауезов
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
prints all the odd numbers between 1 and 20
prints all even numbers between 1 and 20
print all the odd numbers between 1 and 21
prints all the even numbers between 1 and 21
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How many times the following loop will execute:
i = 1
while True:
print(i)
i += 2
0
2,4,6,8,..................
1,3,5,7,9,.............
1,2,4,6,8......................
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
i = 1
while True:
if i%7 == 0:
break
print(i)
i += 1
123456
1234567
error
none
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
i = 1
while False:
if i%2 == 0:
break
print(i)
i += 2
1
1357......
1234......
none of the mentioned
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
for i in range(10):
if i == 5:
break
else:
print(i)
else:
print("Here")
01234 Here
012345 Here
01234
12345
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
x = 'abcd'
for i in range(len(x)):
x = 'a'
print(x)
a
abcd abcd abcd
a a a a
none
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The program above
prints all the odd numbers between 1 and 20
prints all even numbers between 1 and 20
print all the odd numbers between 1 and 21
prints all the even numbers between 1 and 21
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Unit 5 TEST

Quiz
•
11th - 12th Grade
20 questions
Control Statements in Python

Quiz
•
11th Grade
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th Grade
20 questions
Python Recap

Quiz
•
7th Grade - University
20 questions
GCSE J277 - 2.2.1 - Programming Constructs

Quiz
•
7th Grade
21 questions
Python Strings

Quiz
•
11th Grade
22 questions
Loops Quiz

Quiz
•
11th Grade
22 questions
for loop

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
20 questions
Math Review

Quiz
•
7th Grade
14 questions
Subtracting Integers

Lesson
•
6th - 8th Grade
15 questions
Exponent Properties

Quiz
•
7th - 9th Grade