
Exception Handling

Quiz
•
Other
•
University
•
Easy
Yhasnaya Soriano
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
Cognitive Development

Quiz
•
University
21 questions
Quiz on .NET Core and C#

Quiz
•
University
30 questions
Latihan UTS Pengukuran dan Instrumentasi

Quiz
•
University
20 questions
LU 6 Auditing General & application controls quiz

Quiz
•
University
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
30 questions
Webathan

Quiz
•
University
22 questions
Analisis Regresi Linier

Quiz
•
University
20 questions
S2 - CO

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University