
Python Programming Quiz 3
Quiz
•
Mathematics
•
Professional Development
•
Practice Problem
•
Medium
Suraj Singh
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of this loop with a break statement?
for i in range(5):
if i == 3:
break
print(i)
0 1 2
0 1 2 3 4
1 2 3
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? for i in range(3): print(i * 2)
2 4 6
0 2 4
0 1 2
1 2 3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? count = 0 while count < 3: print(count) count += 1
0 1 2
0 1 2 3
1 2 3
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? for i in range(4): if i == 2: continue print(i)
0 1 2 3
0 1 3
1 2 3
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this code snippet? count = 5 while count > 0: print(count) count -= 2
5 3 1
5 4 3 2 1
5 3
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? for i in range(2, 6): print(i + 1)
2 3 4 5 6
1 2 3 4 5
3 4 5 6 7
2 3 4 5
7.
MULTIPLE CHOICE QUESTION
30 sec • 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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Perkalian Bentuk Aljabar
Quiz
•
Professional Development
10 questions
operasi tambah dan tolak matriks
Quiz
•
Professional Development
10 questions
Razones trigonométrica
Quiz
•
Professional Development
10 questions
Tabliczka mnożenia
Quiz
•
Professional Development
10 questions
Dodawanie ułamków dziesiętnych
Quiz
•
KG - Professional Dev...
15 questions
EVALUACIÓN DE ÁLGEBRA(INICIO)_CNA_IESTPP_2025
Quiz
•
Professional Development
10 questions
REFLEKSI KELAS 9
Quiz
•
Professional Development
10 questions
Avaliação de Pensamento Lógico
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
