GIAC
GPYC · Question #11
What happens if a programmer fails to build exception handling into a program, and the program encounters an unexpected error condition?
The correct answer is B. The application will print a warning to the console and continue to the end. You've hit your limit · resets 1pm (America/New_York)
Python Fundamentals & Command Line Tools
Question
What happens if a programmer fails to build exception handling into a program, and the program encounters an unexpected error condition?
Options
- AThe interpreter will ignore the error and move to the next line
- BThe application will print a warning to the console and continue to the end
- CThe computer will "fuzz" input until it finds one that generates no error
- DThe application will terminate immediately or after resources are exhausted
How the community answered
(32 responses)- A3% (1)
- B88% (28)
- C3% (1)
- D6% (2)
Explanation
You've hit your limit · resets 1pm (America/New_York)
Topics
#exception handling#program termination#error conditions
Community Discussion
No community discussion yet for this question.