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)
RuntimeException
Exception
ArithmeticException
Object
Throwable
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 ignore/swallow exceptions
rethrow in catch block
Don't log and
leave empty catch block
Don't catch Throwable
specific exception first
Catch the most
It will not only catch all exceptions, it will also catch all errors
Don't use exceptions
Similar Resources on Wayground
10 questions
Evaluación de Seguridad en Spring

Quiz
•
Professional Development
11 questions
120.Autoboxing and unboxing

Quiz
•
Professional Development
10 questions
IT ENGLISH: Research Project Topics - Workflow Automation

Quiz
•
Professional Development
8 questions
Day 1 Pygame - 23rd June

Quiz
•
Professional Development
10 questions
PreTrainingExceptions

Quiz
•
Professional Development
12 questions
Java Programming Concepts

Quiz
•
Professional Development
7 questions
Day 22 - C10p1

Quiz
•
Professional Development
12 questions
flow charts

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade