Exam 12: Debugging and Handling Exceptions

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

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

(True/False)
4.8/5
(49)

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.9/5
(30)

When more than one catch clause is included, ____.

(Multiple Choice)
4.7/5
(37)

Selecting ____________ when you are in Debug mode, causes the program to execute from the halted line until it reaches the next breakpoint, if there is one.

(Short Answer)
4.8/5
(36)

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

(Multiple Choice)
4.9/5
(37)

Syntax errors are normally associated with programs that run but produce incorrect results.

(True/False)
4.7/5
(36)

With a generic catch, any type of exception is handled by the catch code.

(True/False)
4.8/5
(26)

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
(34)

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

(True/False)
4.9/5
(43)

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.7/5
(41)

Writing a catch clause without an argument list ____.

(Multiple Choice)
4.9/5
(33)

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.9/5
(36)

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

(True/False)
4.8/5
(31)

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

(True/False)
4.8/5
(44)

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.9/5
(37)

When you use step commands, the values are automatically updated in the _____window with each new line of code.

(Multiple Choice)
4.7/5
(33)

An exception handler is a ____.

(Multiple Choice)
4.7/5
(29)

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)
4.8/5
(37)

Exceptions are unexpected conditions that happen frequently.

(True/False)
4.9/5
(37)

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

(True/False)
4.9/5
(37)
Showing 21 - 40 of 75
close modal

Filters

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