Which of the following options should you choose when an exception occurs in a program that analyzes an airline's ticketing transactions?

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: C

Computer Science & Information Technology

You might also like to view...

Older versions of ____ always displayed a vertical scroll bar.

A. Firefox B. Internet Explorer C. Windows D. all of the above

Computer Science & Information Technology

El selector de cuadro de diálogo aparece en la esquina inferior izquierda de cualquier grupo que tenga un cuadro de diálogo o un panel de tareas asociado.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following is a Python keyword??

A. ?elif B. ?else C. ?def D. ?all of the above

Computer Science & Information Technology

Which of the following is NOT a primary impact of the USA PATRIOT Act?

A. Enhancing the federal government's capacity to share intelligence. B. Strengthening the criminal laws against terrorism. C. Removing obstacles to investigating terrorism D. Preventing foreign nationals from traveling to the United States

Computer Science & Information Technology