Exceptions in Pythons

Exceptions in Pythons

12th Grade

17 Qs

quiz-placeholder

Similar activities

CodeHS Functions Unit Quiz Review

CodeHS Functions Unit Quiz Review

9th - 12th Grade

15 Qs

20.2 File Processing and Exception Handling Cambridge iA 9618

20.2 File Processing and Exception Handling Cambridge iA 9618

12th Grade

20 Qs

GR 12_DATA FILE HANDLING_SS

GR 12_DATA FILE HANDLING_SS

12th Grade

20 Qs

PCEP Section 4C: Python Built-In Exceptions Hierarchy

PCEP Section 4C: Python Built-In Exceptions Hierarchy

12th Grade

15 Qs

Chapter 12 Study Guide

Chapter 12 Study Guide

11th - 12th Grade

14 Qs

Exceptions and Definitions

Exceptions and Definitions

9th - 12th Grade

12 Qs

Python Unit 3 Comprehension Check (3,4,5,6)

Python Unit 3 Comprehension Check (3,4,5,6)

9th - 12th Grade

20 Qs

Basic Python Concepts and Console Interaction

Basic Python Concepts and Console Interaction

9th - 12th Grade

20 Qs

Exceptions in Pythons

Exceptions in Pythons

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Adrian Ortiga

Used 13+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are exceptions in Python?

Exceptions in Python are successful outcomes of a program
Exceptions in Python are warnings that can be ignored
Exceptions in Python are intentional features of the language

Exceptions in Python are special objects to manage errors.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What special objects we can use in Python to manage errors?

try-catch
attempt-except
test-fail

exceptions

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What special objects we can use in Python to manage errors?

4.

DRAG AND DROP QUESTION

1 min • 1 pt

Whenever an error occurs that makes Python unsure what to do next, it creates an ​ (a)   object.

exception
error
uncertainty

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Exceptions are handled with ________ blocks.

try-catch

try-except
try-finally
try-else

6.

DROPDOWN QUESTION

1 min • 1 pt

A ​ (a)   block asks Python to do something, but it also tells Python what to do if an ​ (b)   is ​ (c)   .

try-except
exception
raised
if-else
for-loop
while-loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you use try-except blocks, your programs will ______ running even if things start to go wrong.

stop
continue
pause
terminate

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?