Exception Handling

Exception Handling

University

25 Qs

quiz-placeholder

Similar activities

Culpabilidad

Culpabilidad

University - Professional Development

20 Qs

Basis Data dalam Rekam Medis

Basis Data dalam Rekam Medis

University

20 Qs

PROFED JANUARY 10

PROFED JANUARY 10

University

20 Qs

Ortografía

Ortografía

University

20 Qs

Repaso Desarrollo cognitivo

Repaso Desarrollo cognitivo

University

20 Qs

Literatura 1-2

Literatura 1-2

12th Grade - University

20 Qs

Directrices y métricas de la cadena de suministro

Directrices y métricas de la cadena de suministro

University - Professional Development

20 Qs

Exam 3 Review

Exam 3 Review

10th Grade - University

20 Qs

Exception Handling

Exception Handling

Assessment

Quiz

Other

University

Practice Problem

Easy

Created by

Yhasnaya Soriano

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

An error that happens during execution of a program.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When that error occurs, Python generate an exception that can be handled, which avoids your program to crash

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Exceptions are convenient in many ways for handling errors and special conditions in a program. When you think that you have a code which can produce an error then you can use exception handling.

True

False

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

You can raise an exception in your own program by using the ___________________.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Raising an exception breaks current code execution and returns the exception back until it is handled

True

False

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Example for Exception Cases

IOError

ImportError

ValueError

RangeError

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the file cannot be opened

IOError

ImportError

ValueError

IndexError

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?