
Python Unit 4 - Loops & Error Handling
Authored by Tom Riherd
Computers
6th - 9th Grade
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Used to make a program repeat a series of instructions for either a certain number of times or until a condition is met.
loop
endless loop
if / else
circle
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A loop that runs continuously or won't stop because the condition the loop is evaluating cannot be satisfied.
loop
endless loop
if / else
circle
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Instruction in Python to create a loop that will run continuously when a condition is True. Looping ends when condition is False.
while
for
continue
endless loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A type of loop in Python that is designed to work through the number of items in a list, a range, or characters of a string.
while
for
continue
endless loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python statement to redirect program execution in a loop back to the beginning of the loop rather than finishing the rest of the instructions contained in the loop.
while
for
continue
endless loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Keystroke combination that usually terminates execution of Python programs by sending the “break” command to the Python shell.
Ctrl+c
break
fault
Ctrl+b
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python statement that will stop code executing within a loop & advance to the first statement after the end of the loop.
Ctrl+c
break
fault
Ctrl+b
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?