Python Unit 4 - Loops & Error Handling

Python Unit 4 - Loops & Error Handling

6th - 9th Grade

34 Qs

quiz-placeholder

Similar activities

2.2 j277 computer science programming techniques (iteration)

2.2 j277 computer science programming techniques (iteration)

9th - 10th Grade

30 Qs

[AP CSP] Midterm Review (Semester 1)

[AP CSP] Midterm Review (Semester 1)

9th - 12th Grade

30 Qs

CP Final Exam Review 1

CP Final Exam Review 1

6th Grade

35 Qs

Python definite iteration

Python definite iteration

8th Grade

35 Qs

Programming Techniques

Programming Techniques

8th - 10th Grade

30 Qs

Tynker -Python 101

Tynker -Python 101

8th Grade

30 Qs

Scratch and Python

Scratch and Python

7th Grade

30 Qs

Tynker Python Vocab to Lesson 6

Tynker Python Vocab to Lesson 6

6th - 8th Grade

33 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 10+ 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?