Exam 12: Debugging and Handling Exceptions
Exam 1: Introduction to Computing and Programming75 Questions
Exam 2: Data Types and Expressions75 Questions
Exam 3: Methods and Behaviors75 Questions
Exam 4: Creating Your Own Classes75 Questions
Exam 5: Making Decisions75 Questions
Exam 6: Repeating Instructions75 Questions
Exam 7: Arrays75 Questions
Exam 8: Advanced Collections75 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events74 Questions
Exam 11: Advanced Object-Oriented Programming Features75 Questions
Exam 12: Debugging and Handling Exceptions75 Questions
Exam 13: Working with Files75 Questions
Exam 14: Working with Databases75 Questions
Exam 15: Web-Based Applications75 Questions
Select questions type
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)