Exam 12: Debugging and Handling Exceptions

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

Custom exceptions must derive from the ____________ class.

(Short Answer)
4.9/5
(81)

When an unexpected error occurs in the try block that throws an exception,control transfers ____.

(Multiple Choice)
4.8/5
(81)

When you write custom exceptions,instead of the CLR raising the exception,you must write program statements that raise the exception,using the keyword ____________.

(Short Answer)
5.0/5
(75)

Once an exception is thrown,control is never returned to the try block.

(True/False)
4.7/5
(77)

The Watch window with the Debugger lets you type in one or more variables or expressions that you want to observe while the program is running.

(True/False)
4.9/5
(78)

The ____ property associated with exception objects returns a string describing the exception.

(Multiple Choice)
4.8/5
(74)

An attempt to access an element of an array with an index that is outside the bounds of the array throws a ____.

(Multiple Choice)
5.0/5
(82)

With the Debugger,while in break mode,you can examine expressions to see what values are being generated.

(True/False)
4.8/5
(74)

When an unhandled exception message is displayed,the method that raised the exception is listed last.

(True/False)
4.8/5
(87)

You should desk check solutions to make sure the program is producing consistently accurate results.

(True/False)
4.7/5
(89)

Bugs are normally labeled as ____.

(Multiple Choice)
4.8/5
(76)

Which of the following would not throw an exception?

(Multiple Choice)
4.8/5
(90)

A(n)____________ is a listing of all the methods that are in the execution chain when the exception is thrown.

(Short Answer)
4.8/5
(91)

If a program works properly with some data,but crashes when a certain value is entered,you have a system error.

(True/False)
4.9/5
(58)

If an event that creates a problem happens frequently,it is best to write instructions to take care of the problem with ____.

(Multiple Choice)
4.9/5
(63)
Showing 61 - 75 of 75
close modal

Filters

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