Give several reasons why exception-handling techniques should not be used for conventional program control

What will be an ideal response?

Exception handling is designed to handle infrequently occurring situations that often result in program termination, so compiler writers are not required to implement exception handling to perform optimally. (b) Flow of control with conventional control structures generally is clearer and more efficient than with exceptions. (c) Problems can occur because the stack is unwound when an exception occurs and resources allocated prior to the exception might not be freed. (d) The “additional” exceptions make it more difficult for you to handle the larger number of exception
cases.

Computer Science & Information Technology

You might also like to view...

Clicking the ________ icon in the Design tab of the Ribbon will open a list of mathematical summaries that can be applied to a field

Fill in the blank(s) with correct word

Computer Science & Information Technology

___________ helps with the IP address shortage problem by allowing an organization to use private IP addresses while connected to the Internet.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology