
Python - For Loop
Authored by bhoomi raisinghani
Computers
8th Grade
Used 29+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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?