Python Loops Post Test
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Jakobi Gorham
Used 60+ 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?
Create a free account and access millions of resources
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
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
11 questions
HEALTH AND SAFETY 9
Quiz
•
7th - 9th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
10 questions
Fundamentos PHP (Manejo de Fomularios y arreglos)
Quiz
•
9th Grade
20 questions
Introducción a las bases de datos
Quiz
•
12th Grade
18 questions
Internet 2nd
Quiz
•
11th Grade
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - University
10 questions
SHORTCUT PADA KEYBOARD
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
