A44 OOP Exception Handling

A44 OOP Exception Handling

Professional Development

7 Qs

quiz-placeholder

Similar activities

Quiz-1 tkinter

Quiz-1 tkinter

University - Professional Development

11 Qs

DW (EM25) - Handoff (T15)

DW (EM25) - Handoff (T15)

University - Professional Development

10 Qs

Public Key Infrastructure

Public Key Infrastructure

Professional Development

10 Qs

TEST SOP LOGICAL ACCESS

TEST SOP LOGICAL ACCESS

1st Grade - Professional Development

10 Qs

Cyber Security Everything We Need To Know Quiz

Cyber Security Everything We Need To Know Quiz

Professional Development

10 Qs

CatalogONE Workshop - Day 1 Morning

CatalogONE Workshop - Day 1 Morning

Professional Development

10 Qs

Scratch!

Scratch!

4th Grade - Professional Development

8 Qs

Soal SKD

Soal SKD

University - Professional Development

10 Qs

A44 OOP Exception Handling

A44 OOP Exception Handling

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Chavdar Dimitrov

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Match the following

Unchecked

Exception

Irrecoverable

Checked Exception

Compile-time exceptions

Error

Runtime exceptions

5.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

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

Media Image

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

Match the following

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?