Python Unit 4 - Loops & Error Handling

Python Unit 4 - Loops & Error Handling

6th - 9th Grade

34 Qs

quiz-placeholder

Similar activities

Tynker Python Lesson 1-2

Tynker Python Lesson 1-2

7th Grade

30 Qs

7.6 Programming (2021)

7.6 Programming (2021)

7th Grade

30 Qs

Computer Science Pre Final Test

Computer Science Pre Final Test

8th Grade

31 Qs

Week 3 - Python 2

Week 3 - Python 2

9th - 12th Grade

30 Qs

PYTHON-06

PYTHON-06

9th - 12th Grade

30 Qs

Python

Python

9th - 10th Grade

36 Qs

AP CSP Semester Review

AP CSP Semester Review

9th - 12th Grade

30 Qs

KO6 Year 8

KO6 Year 8

7th Grade

39 Qs

Python Unit 4 - Loops & Error Handling

Python Unit 4 - Loops & Error Handling

Assessment

Quiz

Computers

6th - 9th Grade

Medium

Created by

Tom Riherd

Used 11+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?