QUESTION 1Exception handling allows our programs to:Deal wit

QUESTION 1Exception handling allows our programs to:Deal with situations, except in certain conditions.Prevent our program from crashing unexpectedly.Recover lost data when a crash occurs.Prevent crashes, no matter what.1 points QUESTION 2When a runtime error occurs inside of a try block:an exception object is created and exception message is printed to the screen.It immediately triggers a specified function to activate.The operating system handles the error.1 points QUESTION 3What keyword do we use to specify a block of code that will handle an exception?try:except:catch:throw:1 points QUESTION 4Exception handling must be implemented from the beginning of a program’s design. True False1 points QUESTION 5We can control what kind of exceptions are detected and handled by specifying a(n) _______ in the header of the except code typean exception object typereceiver functionthis is automatic.1 points QUESTION 6We can specify an exception handler block that detects multiple specific exception types True False1 points QUESTION 7If we do not specify the exception type in the except block header, then no exceptions will be handled. True False1 points QUESTION 8In exception handling, you define your except blocks before the try block. True False1 points QUESTION 9What is the output of the following code if the user typed the letter ‘C’, then hit the ‘Enter’ key:print(‘Type Control C or -1 to exit’)number = 1while number != -1: try: number = int(input(‘Enter a number: ‘)) print(‘You entered:’, number) except ValueError: print(‘That was not a number.’)You entered: CThat was not a number.Error message.Nothing happens.1 points