Exception Handling
Quiz
•
Computers
•
University
•
Medium
Mohd. Khan
Used 47+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
FE-Practice # 1
Quiz
•
12th Grade - University
40 questions
IOT_SARS
Quiz
•
University
39 questions
Karel Programming
Quiz
•
10th Grade - University
40 questions
CSM with Visca
Quiz
•
University
40 questions
C++ Basics
Quiz
•
University
43 questions
GCSE Computer Science - 2.1-2.2
Quiz
•
University
42 questions
Final Coverage_Quiz 1
Quiz
•
University
40 questions
Tugas Informatika Kelas X SMAN 1 Tjb
Quiz
•
10th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
