Which of the following is an advantage of not using exception-handling to deal with errors?
A) Intermixing program logic with error-handling logic can make the program more difficult to read, modify, maintain and debug.
B) Frequent tests for infrequently occurring errors can degrade a program's performance.
C) Programmers may delay writing error-processing code or sometimes forget to include it.
D) None of the above.
Correct Answer:
Verified
Q1: If dynamic memory has been allocated for
Q4: To rethrow an exception, the exception handler
Q7: The purpose of stack unwinding is to:
A)
Q8: Select the false statement regarding exceptions.
A) The
Q10: Once an exception is thrown, when can
Q11: Select the false statement. A rethrown exception:
A)
Q15: Which of the following is not a
Q19: Select the false statement. If an exception
Q20: Select the false statement. The functions set_terminate
Q21: Both "ignoring the exception" and "aborting the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents