
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
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
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 Wayground
20 questions
Programming 1 Test Review (End of Quarter)

Quiz
•
11th Grade
20 questions
Python. Тізімдер

Quiz
•
7th Grade
25 questions
Assignment 2(CIVIL)

Quiz
•
University
20 questions
AP CA A Unit 4 Review

Quiz
•
11th - 12th Grade
25 questions
Python Loops

Quiz
•
11th Grade
26 questions
Artificial Intelligence Quiz1

Quiz
•
4th - 8th Grade
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
20 questions
Python English klasa 8/1

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade
21 questions
Gear Ratio Practice

Quiz
•
6th - 8th Grade