A44 OOP Exception Handling

Quiz
•
Computers
•
Professional Development
•
Hard

Chavdar Dimitrov
Used 11+ times
FREE Resource
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)
Exception
RuntimeException
Object
Throwable
ArithmeticException
4.
MATCH QUESTION
1 min • 3 pts
Unchecked
Exception
Irrecoverable
Error
Compile-time exceptions
Checked Exception
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
when if-else can be used
Don't use exceptions
It will not only catch all exceptions, it will also catch all errors
Don't log and
specific exception first
Don't catch Throwable
rethrow in catch block
Don't ignore/swallow exceptions
leave empty catch block
Catch the most
Similar Resources on Wayground
10 questions
Quiz!!!!

Quiz
•
Professional Development
10 questions
Azure Databricks Kantar Day 6

Quiz
•
Professional Development
12 questions
JAVA control Structure

Quiz
•
Professional Development
10 questions
Pertemuan 7 - Azure Data Engineer

Quiz
•
Professional Development
10 questions
JavaScript and Frameworks Quiz

Quiz
•
Professional Development
12 questions
Java Programming Concepts

Quiz
•
Professional Development
10 questions
Java Strings

Quiz
•
1st Grade - Professio...
12 questions
DECI - Week 5 - Time Machine

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development