Skip to content
#1. ______ can be said to be any abnormal condition in a program resulting to the disruption in the flow of the program.
#2. Whenever an exception occurs the program halts the execution and thus further ______ is not executed.
#3. Raised when assert statement fails.
#4. Raised when attribute assignment or reference fails.
#5. Raised when the input() functions hits end-of-file condition.
#6. Raised when a floating point operation fails.
#7. Raise when a generator’s close() method is called.
#8. Raised when the imported module is not found.
#9. Raised when index of a sequence is out of range.
#10. Raised when a key is not found in a dictionary.
#11. Raised when the user hits interrupt key.
#12. Raised when an operation runs out of memory.
#13. Raised when a variable is not found in local or global scope.
#14. Raised by abstract methods.
#15. Raised when system operation causes system related error.
#16. Raised when result of an arithmetic operation is too large to be represented.
#17. Raised when a weak reference proxy is used to access a garbage collected referent.
#18. Raised when an error does not fall under any other category.
#19. Raised by next() function to indicate that there is no further item to be returned by iterator.
#20. Raised by parser when syntax error is encountered.
#21. Raised when there is incorrect Indentation.
#22. Raised when indentation consists of inconsistent tabs and spaces.
#23. Raised when interpreter detects internal error.
#24. Raised by sys.exit() function.
#25. Raised when a function or operation is applied to an object of incorrect type.