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)
Object
Exception
RuntimeException
Throwable
ArithmeticException
4.
MATCH QUESTION
1 min • 3 pts
Error
Compile-time exceptions
Unchecked
Exception
Runtime exceptions
Checked Exception
Irrecoverable
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
rethrow in catch block
Don't ignore/swallow exceptions
specific exception first
Don't use exceptions
leave empty catch block
Catch the most
when if-else can be used
Don't log and
It will not only catch all exceptions, it will also catch all errors
Don't catch Throwable
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
CND Quiz Week 11
Quiz
•
Professional Development
10 questions
How are you doing?
Quiz
•
Professional Development
10 questions
Chapter 11.1 Windows Desktop and File Explorer
Quiz
•
KG - Professional Dev...
10 questions
Senz AIoT Savants - ML & C++
Quiz
•
Professional Development
11 questions
Java Fundamentals
Quiz
•
Professional Development
10 questions
QUIZ FAST- Auditor
Quiz
•
Professional Development
10 questions
DevOps Quiz
Quiz
•
Professional Development
11 questions
computer
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development
