Suppose you have written a program that inputs data from a file. If the input file does not exist when the program executes, then you should choose which option?

A. Terminate the program.
B. Include code in the program to recover from the exception.
C. Log the error and continue.
D. Include code in the header file.


Answer: A

Computer Science & Information Technology

You might also like to view...

Any recommendations, suggestions, or ideas will be displayed in the ________ section of the Performance Analyzer dialog box

Fill in the blank(s) with correct word

Computer Science & Information Technology

What inbound firewall rules must be enabled on the domain profile for remote group policy update to be successful?

What will be an ideal response?

Computer Science & Information Technology

In a ____ effect, an entire screen gradually darkens until it is completely black, and then lightens, exposing a new scene.

A. dissolve B. vanish C. diminish D. fade

Computer Science & Information Technology

String objects are immutable. This means they ________.

a. must be initialized b. cannot be deleted c. cannot be changed d. None of the abov

Computer Science & Information Technology