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...

A ________ occurs when an action is completed on an object, such as clicking the mouse

A) submacro B) database event C) command D) modal message

Computer Science & Information Technology

The ________ color is what is visible behind the value in a cell

Fill in the blank(s) with correct word

Computer Science & Information Technology