Exam 12: Debugging and Handling Exceptions

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

If a try block is included,you must also specify a catch clause.

Free
(True/False)
4.8/5
(68)
Correct Answer:
Verified

True

Writing a catch clause without an argument list ____.

Free
(Multiple Choice)
4.7/5
(67)
Correct Answer:
Verified

A

If the current method does not contain an exception handler,that method is halted and the program terminates immediately.

Free
(True/False)
4.9/5
(81)
Correct Answer:
Verified

False

When code is included in all three blocks for the try...catch...finally construct,____.

(Multiple Choice)
4.8/5
(74)

All exception classes inherit from the ____ class.

(Multiple Choice)
4.8/5
(62)

The three commands for stepping through code while you are in break mode are CONTINUE,BREAK,and EXIT.

(True/False)
4.8/5
(83)

If you write a try...catch clause,you must include a finally block.

(True/False)
5.0/5
(69)

If the current method does not contain an exception handler,that method is halted,and the parent method that called the method that threw the exception attempts to handle the exception.The exception is said to be ____________ to the calling method.

(Short Answer)
4.9/5
(87)

What order should ArithmeticException,DivideByZeroException,and Exception catch clauses be placed in a try...catch block?

(Multiple Choice)
4.9/5
(82)

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

When the CLR handles the exception by halting the application ____.

(Multiple Choice)
4.8/5
(91)

You cannot write a catch clause unless you include it within a try block.

(True/False)
4.9/5
(76)

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

(True/False)
4.9/5
(74)

What type of error is associated with a language rule violation?

(Multiple Choice)
4.9/5
(80)

Writing the catch clause without an argument list is the same as writing ____________.

(Essay)
4.9/5
(80)

When an unhandled exception message is displayed and you click on the Details button in Visual Studio,____.

(Multiple Choice)
4.8/5
(85)

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

(Multiple Choice)
4.9/5
(81)

Bugs,errors,and exceptions are the same thing.

(True/False)
4.9/5
(87)

An IO.IOException exception is thrown when ____.

(Multiple Choice)
5.0/5
(81)

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

(True/False)
4.9/5
(67)
Showing 1 - 20 of 75
close modal

Filters

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