Exception Handling

Exception Handling

University

39 Qs

quiz-placeholder

Similar activities

Latihan 1 PBO XI RPL 2

Latihan 1 PBO XI RPL 2

10th Grade - University

40 Qs

Test

Test

University

35 Qs

01 - 06 handout

01 - 06 handout

11th Grade - University

35 Qs

Final Exam - BECC0302

Final Exam - BECC0302

University

35 Qs

Mid term mock test

Mid term mock test

University

35 Qs

Computer Vision Quiz

Computer Vision Quiz

University

35 Qs

Arquitectura de computadoras corte2 ITI02

Arquitectura de computadoras corte2 ITI02

University

42 Qs

Exception Handling

Exception Handling

Assessment

Quiz

Computers

University

Medium

Created by

Mohd. Khan

Used 47+ times

FREE Resource

AI

Enhance your content in a minute

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

39 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the advantage of Exception Handling

To avoid abnormal termination of a program

To find out errors

To Debug program

None of these

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following keyword is optional in Exception handling program

try

except

finally

else

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an exception

Error occurred during the execution of a program

Bug occurred during the compile time of a program

Simply an Error

It is related to input values

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many except statements can a try-except statement have?

None

One

Two

Multiple

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When is the finally block executed?

when an exception occurs

when no exception occurs

never

always

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When will the else part of try-except-else be executed?

always

when an exception occurs

when no exception occurs

never

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can one except block handle multiple exceptions?

Yes

No

May be

Insufficient information

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?