
Python Loop
Authored by Ruby Chen
Information Technology (IT)
University
Used 9+ 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
30 sec • 1 pt
An infinite loop is :A loop runs infinite times when the condition-------------.
never fails
run one time
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Print i as long as i is less than 6 and i is initiated with the value of 1 :
Which program is correct
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python while loop It continually executes the statements(code) as long as the given condition is ----------
True
False
4.
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
5.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
WHILE 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
6.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
Which kind of loop would be used?
I need a program that will keep letting me add money to a piggy bank until I get to £100.
FOR Loop
WHILE Loop
7.
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
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?