
Exception Handling
Authored by Yhasnaya Soriano
Other
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
SnT_Module-1_06/07/2020
Quiz
•
University
20 questions
Understanding Text Comprehension Strategies
Quiz
•
7th Grade - University
20 questions
2P Gestión de Proyectos
Quiz
•
University
20 questions
Kuis Aplikasi ISO
Quiz
•
University
20 questions
Wills, Probate and Adverse Possession
Quiz
•
University
20 questions
Investigación I
Quiz
•
University
20 questions
Capítulo 10 "Emprendimiento"
Quiz
•
University
20 questions
Pelatihan 2 - BE - Bootcamp DCI
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University