UGRD-CS6203C Object-Oriented
Programming
1. Home
2. My courses
3. UGRD-CS6203C-2123T
4. Week 11: Exception Handling
5. Final Lab Quiz 1
Started on Tuesday, 22 February 2022, 10:50 PM
State Finished
Completed on Tuesday, 22 February 2022, 10:56 PM
Time taken 5 mins 34 secs
Marks 5.00/5.00
Grade 100.00 out of 100.00
Question 1
Correct
Mark 1.00 out of 1.00
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