Checked and unchecked exception

Checked and unchecked exception

Professional Development

•

38 Qs

quiz-placeholder

Similar activities

Java Screening Test

Java Screening Test

Professional Development

•

40 Qs

 Test23

Test23

Professional Development

•

40 Qs

Power BI Training

Power BI Training

Professional Development

•

35 Qs

7.Inf04

7.Inf04

Professional Development

•

40 Qs

Roblox Teacher Assessment

Roblox Teacher Assessment

Professional Development

•

40 Qs

Manual & Automation Quiz

Manual & Automation Quiz

Professional Development

•

40 Qs

Pre_Place_Batch_2027_Set_B

Pre_Place_Batch_2027_Set_B

Professional Development

•

40 Qs

IFCD28 P.O

IFCD28 P.O

Professional Development

•

40 Qs

Checked and unchecked exception

Checked and unchecked exception

Assessment

Quiz

•

Computers

•

Professional Development

•

Practice Problem

•

Hard

Created by

ANIL KUMAR

FREE Resource

AI

Enhance your content in a minute

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

38 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are checked and unchecked exceptions in Java?

Required and unchecked handling.
Optional and handled exceptions.
Handled and required exceptions.
Required and optional handling.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the examples of checked and unchecked exceptions?

RuntimeException, IOException.
ArrayIndexOutOfBoundsException, NullPointerException.
IOException, ClassNotFoundException.
NullPointerException, ArithmeticException.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which Java exceptions are unchecked?

IOException.
ClassNotFoundException.
RuntimeException.
SQLException.

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the 4 checked exceptions in Java?

NumberFormatException, NullPointerException, ArrayIndexOutOfBoundsException, ArithmeticException.
FileNotFoundException, ClassNotFoundException, InterruptedException, SQLException.
RuntimeException, IndexOutOfBoundsException, IllegalArgumentException, ConcurrentModificationException.
IOException, SQLException, ClassNotFoundException, InterruptedException.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the difference between checked and unchecked exception?

Checked at runtime, unchecked at compile time.
Unchecked at runtime, checked at compile time.
Checked at runtime and compile time.
Unchecked at runtime and compile time.

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Is NullPointerException checked or unchecked?

Checked.
Unchecked.
Both.
None.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the three unchecked exceptions?

ClassNotFoundException, NullPointerException, IOException.
IllegalArgumentException, ArrayIndexOutOfBoundsException, NullPointerException.
NullPointerException, InterruptedException, NumberFormatException.
UnsupportedOperationException, ClassCastException, IOException.

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?