Final Lab Quiz 1
Final Lab Quiz 1
Programming
1. Home
2. My courses
3. UGRD-CS6203C-2123T
4. Week 11: Exception Handling
5. Final Lab Quiz 1
Flag question
Question text
A finally block must be associated without a try block.
Select one:
a.
False
b.
True
Question 2
Correct
Mark 1.00 out of 1.00
Flag question
Question text
If no exception occurs in try block then the catch blocks are completely ignored.
Select one:
a.
False
b.
True
Question 3
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A try-finally block is not possible without catch block.
Select one:
a.
True
b.
False
Question 4
Correct
Mark 1.00 out of 1.00
Flag question
Question text
If an exception occurs in try block then the control of execution is passed to the
corresponding catch block.
Select one:
a.
False
b.
True
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
An exception in the finally block, behaves exactly like any other exception.
Select one:
a.
True
b.
False