Question 1
What is the purpose of the finally block in exception handling?
Question 2
Which keyword is used to raise an exception in python?
Question 3
Which keyword is used to define a custom exception class in python?
Question 4
What is the purpose of the else block in exception handling?
Question 5
Which of the following is NOT a built-in exception in python?
Question 6
In python, which block is used to handle exceptions?
Question 7
What is the purpose of the try block in exception handling?
Question 8
What is an exception in python?
Question 9
Which of the following statements is true about python exceptions?
Question 10
What is the purpose of the 'except' block without specifying an exception type?