Search Header Logo

Exceptions in Pythons

Authored by Adrian Ortiga

Computers

12th Grade

Used 13+ times

Exceptions in Pythons
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?