PYTHON (FOR LOOP)
Quiz
•
Computers
•
1st - 10th Grade
•
Practice Problem
•
Medium
Shilpa Thakur
Used 111+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 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
1 min • 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.
OPEN ENDED QUESTION
2 mins • 20 pts
Q3. Write a for loop so that every item in the list is printed.
lst=["koala", "cat", "fox", "panda", "chipmunk", "sloth", "penguin", "dolphin"]
Evaluate responses using AI:
OFF
4.
MULTIPLE CHOICE QUESTION
1 min • 20 pts
Q4. What is the output of the following:-
print(list(range(10)))
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
[1,2,3,4,5,6,7,8,9,10]
[2,3,4,5,6,7,8,9,10,11]
[0,1,2,3,4,5,6,7,8,9,10]
5.
MULTIPLE CHOICE QUESTION
1 min • 20 pts
Choose the correct answer
for i in "python":
print(i, end=='?')
Error
p?
y?
t?
h?
o?
n?
p?y?t?h?o?n?
both b and c
6.
OPEN ENDED QUESTION
2 mins • 20 pts
Find the error and correct it
i=2
for x in (i):
x+=1
print(x)
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
30 sec • 20 pts
What is for loop.
Evaluate responses using AI:
OFF
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
10 questions
Kuis tipedata, flowchart informatima kelas X j4njang SMA
Quiz
•
9th - 12th Grade
15 questions
ÔN TẬP HKII-02
Quiz
•
8th Grade
11 questions
Gr3-Scratch - Revision
Quiz
•
3rd - 5th Grade
15 questions
KS3_Data Representations (from clay to silicon)
Quiz
•
1st - 3rd Grade
10 questions
First step to Internet 5B1
Quiz
•
5th Grade
15 questions
Przepływ danych między warstwami
Quiz
•
1st - 3rd Grade
15 questions
K5_ÔN TẬP HỌC KÌ 1
Quiz
•
5th Grade
10 questions
Cyberbezpieczeństwo
Quiz
•
1st - 5th Grade
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
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
13 questions
PowerPoint Basics
Quiz
•
6th - 8th Grade
10 questions
App Creators Lesson 2.1-2.4
Quiz
•
8th Grade
10 questions
Exploring Computer Science Careers and Subfields
Interactive video
•
6th - 10th Grade
15 questions
AP CSP Unit 4
Quiz
•
10th - 12th Grade
23 questions
Prog 1 Python Q1 Practice
Quiz
•
9th - 12th Grade
20 questions
logo quiz
Quiz
•
3rd Grade
