
Python 03 For Loop
Authored by codeJuniors codeJuniors
Other
4th - 9th Grade
Used 43+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#How many hallos will be printed?
5
None
4
6
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
for loop can
Repeat Task
Have a counter
Loop a certain amount of time
All answers are correct
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#What is the output?
1,2,3,4,5
0,1,2,3,4
1,2,3,4
5,4,3,2,1
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#What will happen?
"hallo" will be printed forever (Infinite loop)
"hallo" won't print at all
"hallo" will print once
Error
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does break do?
Escape the While and For Loop
helps with commenting
break code for debugging
Escape the if else statement
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#What is the output if the user type "PYTHON"?
Welcome!
Try Again!
Error
Enter password
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
To repeat a fixed number of times use...
While loop
For loop
If loop
Indentation
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?