What happens if your program generates an exception and there\'s no code written
ID: 3919472 • Letter: W
Question
What happens if your program generates an exception and there's no code written to handle it?
Use letters in alphabetical order to select options
A
Nothing happens; the exception is ignored and the program continues.
B
Python gives you an error when you attempt to save the source code file.
C
Python gives you a warning when the exception occurs during program execution, and the program continues running.
D
Python gives you an error message when the exception occurs during program execution, and the program stops.
Explanation / Answer
Answer: D
Python gives you an error message when the exception occurs during program execution, and the program stops.
explanation:
when there no handling code...then an error message spit out,,,and program stops..
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.