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
แบบทดสอบ หน่วยการเรียนรู้ที่ 1 การออกแบบและการเขียนอัลกอริทึม
Quiz
•
6th - 8th Grade
10 questions
CodeHS Intro to Programming - Karel Review
Quiz
•
7th Grade
10 questions
Scratch Lesson 1
Quiz
•
7th Grade
10 questions
Computers in society: Sorting algorithms
Quiz
•
7th Grade
10 questions
Introduction to Problem Solving
Quiz
•
7th Grade
10 questions
Event based programming
Quiz
•
6th - 8th Grade
11 questions
PowerPoint - old
Quiz
•
7th - 12th Grade
10 questions
Visual Basic Concepts
Quiz
•
7th 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
