Python Unit 4 - Loops & Error Handling

Python Unit 4 - Loops & Error Handling

6th - 9th Grade

34 Qs

quiz-placeholder

Similar activities

Programming Techniques

Programming Techniques

8th - 10th Grade

30 Qs

Intro to CS (Python Fundamentals) S1 Exam

Intro to CS (Python Fundamentals) S1 Exam

9th - 12th Grade

30 Qs

Python

Python

9th - 10th Grade

36 Qs

TERM 2_TEST 2_YEAR 8_CHAPTER 3

TERM 2_TEST 2_YEAR 8_CHAPTER 3

8th Grade

30 Qs

Python Unit 10 - Date Objects

Python Unit 10 - Date Objects

6th - 9th Grade

31 Qs

Scratch and Python

Scratch and Python

7th Grade

30 Qs

Exam 1 Python 101 (Tynker)

Exam 1 Python 101 (Tynker)

9th - 12th Grade

30 Qs

Python definite iteration

Python definite iteration

8th Grade

35 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?