Question 1
When you attempt to open a file that doesn't exist, which exception is raised?
Question 2
When you attempt to access an attribute or method that doesn't exist on an object, which exception is raised?
Question 3
What is the exception raised when an invalid data type conversion is attempted using int() or float() functions?
Question 4
Which of the following exceptions is raised when you attempt to divide a number by zero?
Question 5
Which exception is raised when you try to perform an operation on incompatible data types?
Question 6
Which exception is raised when you try to convert a string containing non-numeric characters to an integer?
Question 7
Which exception is raised when you try to access an element in a list using an out-of-range index?
Question 8
What exception is raised when a variable or name is used before it's defined?
Question 9
Which exception is raised when you try to access a key that does not exist in a dictionary?
Question 10
What is the exception raised when you use an invalid syntax in your python code?