Python For
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Tasanawan Soonklang
Used 51+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the syntax for a "for" loop in Python?
for i in range(5):
for i = 1 to 5:
for i in 0..4:
for (i=0; i<5; i++):
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which variable that use to access the current element of a "for" loop?
fruit
x
i
fruits
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many lines that this program prints?
1
2
3
0
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this program?
3
4
5
6
7
3
4
5
6
1
2
3
4
5
6
7
1
3
5
7
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
how many lines that this program prints?
2
10
3
4
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this program?
2
6
9
2
5
8
3
6
9
3
5
7
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which range function give the same list of
range(0, 5, 1)
range(0, 5)
range(5)
range(5, 1)
range(1, 5)
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
Metodología XP
Quiz
•
University
15 questions
GPS
Quiz
•
9th Grade - University
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
10 questions
วิทยาการคำนวณ p.5
Quiz
•
University
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
10 questions
Pengantar Coding
Quiz
•
University
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
15 questions
tik kelas 7
Quiz
•
1st Grade - University
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
