Python Unit 4 - Loops & Error Handling

Python Unit 4 - Loops & Error Handling

6th - 9th Grade

34 Qs

quiz-placeholder

Similar activities

Algorithms

Algorithms

7th - 11th Grade

29 Qs

Intro to CS (Python Fundamentals) S1 Exam

Intro to CS (Python Fundamentals) S1 Exam

9th - 12th Grade

30 Qs

Python Review

Python Review

9th - 12th Grade

30 Qs

Python Basics (Easy)

Python Basics (Easy)

9th - 12th Grade

30 Qs

Python Unit 6 - Data and Sorting

Python Unit 6 - Data and Sorting

6th - 9th Grade

33 Qs

PLTW CSP Fall Exam 2024

PLTW CSP Fall Exam 2024

9th - 12th Grade

38 Qs

Gmetrix Python

Gmetrix Python

9th Grade - Professional Development

31 Qs

CS Python Fundamentals

CS Python Fundamentals

7th - 11th Grade

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