Exam 12: Debugging and Handling Exceptions

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

The Visual Studio Debugger provides commands for controlling the execution of your application.

(True/False)
4.8/5
(75)

Exceptions are unexpected conditions that happen frequently.

(True/False)
4.7/5
(74)

Which exception class will catch a problem if an attempt is made to access an element stored at location -23 in an array?

(Multiple Choice)
4.7/5
(96)

Zero or more than one catch clause may be included with a try clause.

(True/False)
4.9/5
(87)

A(n)____________ error is associated with a language rule violation.

(Short Answer)
4.8/5
(96)

If you are filtering multiple exceptions,the order of placement of the exception clauses is important.If you are including the Exception class,it should always be placed ____________.

(Short Answer)
4.7/5
(76)

With the Visual Studio debugger,you set a breakpoint by drawing a red circle on the line where the breakpoint should occur.

(True/False)
4.8/5
(82)

While in debug mode,you can look inside a method and examine the method's program statements using ____.

(Multiple Choice)
4.8/5
(82)

C# adheres to a fairly sophisticated set of rules known as C# Rules for the Language,which are the authoritative source for C# grammar and syntax.

(True/False)
4.7/5
(84)

C# adheres to a fairly sophisticated set of rules known as C# ____________.

(Short Answer)
5.0/5
(85)

When you write your own exceptions,the new class should be derived from ____.

(Multiple Choice)
4.7/5
(64)

A(n)____________ exception is thrown for the following types of unexpected errors: a specified file or directory is not found,your program attempts to read beyond the end of a file,or there are problems loading or accessing the contents of a file.

(Short Answer)
4.9/5
(79)

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

(Multiple Choice)
4.7/5
(84)

Exception class has several properties.The ____________ property provides details about the cause of the exception.

(Short Answer)
4.8/5
(95)

All of the following are problem associated with using a generic catch and not specifying an Exception class at all,EXCEPT ____.

(Multiple Choice)
4.8/5
(80)

The property of the Exception class that returns a string describing the exception is ____.

(Multiple Choice)
4.9/5
(95)

A stack trace is a listing of all the methods that are in the execution chain when the exception is thrown.

(True/False)
4.8/5
(73)

When more than one catch clause is included,____.

(Multiple Choice)
4.8/5
(82)

There are over 70 classes derived from the SystemException class.Which one of the following is NOT a derived class of the SystemException class?

(Multiple Choice)
4.8/5
(80)

____________ are unexpected conditions that happen infrequently.

(Short Answer)
4.9/5
(92)
Showing 41 - 60 of 75
close modal

Filters

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