Python Loops Post Test
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Jakobi Gorham
Used 64+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Choose the correct output of the following code.
for i in range(10,15):
print(i)
10
11
12
13
14
10
11
12
13
14
15
11
12
13
14
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What is the output of the following:-
x = "123"
for i in x:
print("a")
x
1
a
1
2
3
x
1
2
3
a
a
a
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
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
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A while loop equivalent of the for loop above is
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
1,2,3,4
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
When do you know when you come to the end of the loop?
Its states End loop
The command End is given
The indentation stops
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What symbol do you use to make a comment in Python?
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
Cyber Security
Quiz
•
1st - 10th Grade
19 questions
UNIT 1.2 MEMORY
Quiz
•
10th Grade
12 questions
Examen final algoritmo
Quiz
•
11th Grade
20 questions
REMEDI PAS - DESAIN DAN KOMP. GRAFIS
Quiz
•
12th Grade
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
12 questions
Quizz Internet
Quiz
•
KG - Professional Dev...
10 questions
Inspire - AI Trivia
Quiz
•
11th Grade
20 questions
Evaluación Primer Periodo Excel
Quiz
•
10th 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
