Search Header Logo

Tutorium 12

Authored by Ricardo Keiling

Computers

University

Used 1+ times

Tutorium 12
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Was ist der Unterschied zwischen Exceptions und Errors in Java?

Errors sind nicht vom Programm behandelbar, da sie schwerwiegender sind (bspw. OutOfMemoryError)

Exceptions sind nicht vom Programm behandelbar, da sie schwerwiegender sind (bspw. OutOfMemoryError)

In Java gibt es nur Exceptions

Exceptions und Errors sind das gleiche in Java

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Welche Art von Exceptions sind Unchecked Exceptions?

Runtime Exceptions und ihre Unterklassen (Arithmetic Excpetion, IndexOutOfBoundsException usw.)

IO Exceptions (FileNotFoundException, SocketException usw.)

Alle Exceptions sind unchecked

Keine Exceptions sind unchecked

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bei welcher Art von Exceptions ist eine Fehlerbehandlung verpflichtend (bspw. durch try-catch Block)?

Checked Exceptions

Unchecked Exceptions

Bei allen Exceptions

Bei keinen Exceptions

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Was wird ausgegeben?

ArithmeticException

ArrayIndexOutOfBoundsException

Exception

gar nichts

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Wird trotz des return statements der finally Block ausgeführt?

Ja

Nein

wenn eine Exception entsteht dann nicht

nur wenn eine Exception entsteht

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?