Which of the following is a condition that is caused by a runtime error in the program?
a. Exception b. Assertion
c. Attribute d. Error
How many except statements can a try-except block have?
a. One b. More than zero
c. Zero d. None
Which keyword is used to prepare a block of code that throws an exception?
a. except b. import
c. try d. None
Which of the following is defined to catch the exception thrown by the try block?
c. index d. None
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here