A44 OOP Exception Handling
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Chavdar Dimitrov
Used 11+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 3 pts
The checked Exceptions should inherit from the following classes:
Throwable
RuntimeException
Object
Exception
2.
MULTIPLE SELECT QUESTION
30 sec • 3 pts
The unchecked Exceptions should inherit from the following classes:
Throwable
RuntimeException
Object
Exception
3.
REORDER QUESTION
1 min • 3 pts
What is correct hierarchal order of the following classes?
(Start from the most general to the most specific)
ArithmeticException
RuntimeException
Throwable
Object
Exception
4.
MATCH QUESTION
1 min • 3 pts
Unchecked
Exception
Irrecoverable
Checked Exception
Compile-time exceptions
Error
Runtime exceptions
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
If the input is valid int number what will be printed?
Enter a number to divide:
Enter a number to divide:
User input done.
Enter a number to divide:
Invalid user input ! Integer number is expected.
User input done.
Nothing will be printed
6.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is the result of the program?
Compilation error
Invalid user input ! Dividing by 0 is not allowed.
I'm first!
No I'm first!
7.
MATCH QUESTION
1 min • 3 pts
leave empty catch block
Don't catch Throwable
rethrow in catch block
Catch the most
when if-else can be used
Don't ignore/swallow exceptions
specific exception first
Don't log and
It will not only catch all exceptions, it will also catch all errors
Don't use exceptions
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
10 questions
Basic Python
Quiz
•
Professional Development
10 questions
BE1 - Behavioral Design Pattern
Quiz
•
Professional Development
10 questions
SLOT 1: Foundation 1
Quiz
•
Professional Development
10 questions
Quizizz - Pengenalan Komputer / Dewasa
Quiz
•
University - Professi...
10 questions
APIs
Quiz
•
University - Professi...
10 questions
Soal SKD
Quiz
•
University - Professi...
10 questions
JavaScript MVC
Quiz
•
Professional Development
10 questions
Public Key Infrastructure
Quiz
•
Professional Development
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 Computers
44 questions
Would you rather...
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
14 questions
Valentine's Day Trivia!
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development
