Exam 12: Debugging and Handling Exceptions

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following preventive actions might be taken to keep your program from crashing?

(Multiple Choice)
4.8/5
(73)

____________ as a methodical process of finding and reducing bugs or defects in a computer program.

(Short Answer)
4.9/5
(69)

The code that you want executed,whether an exception is thrown or not,is placed in the ____ block.

(Multiple Choice)
4.9/5
(91)

A breakpoint is a point in output that separates correct from incorrect results.

(True/False)
4.9/5
(86)

____ is/are used to facilitate managing exceptions in a consistent,efficient way.

(Multiple Choice)
4.7/5
(95)

Only one breakpoint can be set in an application.

(True/False)
4.9/5
(69)

If a program encounters an error that it cannot recover from,it ____.

(Multiple Choice)
4.9/5
(83)

When an application is developed,it is extremely important to ____________ the solutions to make sure the program is producing consistently accurate results.

(Short Answer)
4.9/5
(96)

Custom exceptions classes must derive from the System.SystemException class.

(True/False)
4.8/5
(74)

Markers placed in an application to indicate the program should halt execution when it reaches that spot is a ____.

(Multiple Choice)
4.9/5
(81)

The catch clause associated with a try...catch can be omitted as long as you have a finally block.

(True/False)
4.9/5
(85)

When defining your own exception classes,you must use the word "Exception" as part of the identifier.

(True/False)
4.8/5
(90)

In C# the only checked exceptions are IOExceptions.

(True/False)
4.8/5
(77)

If several catch clauses are included and one is a generic catch,the generic catch clause should be placed first.

(True/False)
5.0/5
(80)

____________ are markers that are placed in an application,indicating the program should halt execution when it reaches that point.

(Short Answer)
4.9/5
(84)

During the compilation stage,the errors that are detected are those that violate the logic of the application.

(True/False)
4.9/5
(90)

An error such as attempting to divide by zero during runtime will always throw an exception.

(True/False)
5.0/5
(96)

An exception handler is a ____.

(Multiple Choice)
4.9/5
(78)

When an exception is thrown,execution halts in the current method and the CLR attempts to locate an exception handler to handle the exception.

(True/False)
4.9/5
(75)

An exception that must be included if you use a specific construct describes a ____ exception.

(Multiple Choice)
4.9/5
(79)
Showing 21 - 40 of 75
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)