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

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

When more than one catch clause is included, ____.

(Multiple Choice)
4.7/5
(72)

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

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

(Multiple Choice)
4.9/5
(87)

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

(True/False)
4.7/5
(78)

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

(True/False)
4.8/5
(62)

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

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

(True/False)
4.9/5
(80)

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

Writing a catch clause without an argument list ____.

(Multiple Choice)
4.9/5
(66)

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

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

(True/False)
4.9/5
(65)

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

(True/False)
4.8/5
(79)

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

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

(Multiple Choice)
4.8/5
(88)

An exception handler is a ____.

(Multiple Choice)
4.8/5
(66)

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

Exceptions are unexpected conditions that happen frequently.

(True/False)
4.9/5
(80)

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

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

Filters

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