for loop
Quiz
•
Computers
•
7th Grade
•
Practice Problem
•
Medium
Tshering Dema
Used 2+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What does a for loop do in Python?
Stores data
Repeats a block of code for each item in a list
Stops a program
Takes input from the user
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct for loop in Python?
for x to y in list:
loop item in list:
for item in list:
repeat list:
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the loop variable in this code?
fruits
for
fruit
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
cow goat sheep
a a a
goat cow sheep
sheep cow goat
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times does this loop run?
1
2
3
4
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the blank:
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
Virtual Tour Quiz 1
Quiz
•
7th Grade
9 questions
Scratch
Quiz
•
3rd - 9th Grade
10 questions
Chromebook Shortcuts
Quiz
•
6th - 9th Grade
11 questions
Computer Networking Quiz
Quiz
•
7th Grade
11 questions
Presentation Basics
Quiz
•
7th Grade
10 questions
PUBG
Quiz
•
3rd Grade - Professio...
10 questions
Computer trivia!
Quiz
•
5th - 8th Grade
10 questions
Website Evaluation Vocabulary
Quiz
•
6th - 8th 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
