Python - For Loop
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
bhoomi raisinghani
Used 27+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
In programming, what is iteration?
The repetition of steps within a program
The order in which instructions are carried out
A decision point in a program
Testing a program to make sure it works
2.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
Which two statements are used to implement iteration?
3.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
FOR loops are
loops which run an unknown number of times
loops which run for a specific number of times
the same as if statements
not part of programming
4.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
Which kind of loop would be used?
I need a program that will keep letting me add a monthly payment for 12 months.
FOR Loop
WHILE Loop
5.
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
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will 1 be printed
3
4
5
6
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for i in 100 :
print ( i )
Syntax error
prints numbers 0 to 100
prints numbers 1 to 100
prints numbers 0 to 99
prints numbers 1 to 99
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
17 questions
Basic Docs
Quiz
•
8th - 9th Grade
15 questions
ÔN TẬP HKII-02
Quiz
•
8th Grade
10 questions
File Management 3 Quiz
Quiz
•
8th Grade
16 questions
Robotic /coding exam
Quiz
•
6th - 8th Grade
10 questions
Word basics
Quiz
•
8th - 12th Grade
10 questions
Online Databases vs. Search Engines
Quiz
•
6th - 10th Grade
15 questions
Systems Architecture
Quiz
•
KG - 9th Grade
10 questions
Microsoft Publisher
Quiz
•
7th - 10th 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
