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 Collections74 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events75 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 Applications73 Questions
Select questions type
Writing the catch clause without an argument list is the same as writing ____________.
(Short Answer)
4.9/5
(34)
If you write a try...catch clause, you must include a finally block.
(True/False)
4.9/5
(38)
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)
5.0/5
(38)
Exception class has several properties. The ____________ property provides details about the cause of the exception.
(Short Answer)
4.7/5
(29)
Markers placed in an application to indicate the program should halt execution when it reaches that spot is a ____.
(Multiple Choice)
4.9/5
(41)
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.8/5
(33)
The three commands for stepping through code while you are in break mode are CONTINUE, BREAK, and EXIT.
(True/False)
4.8/5
(36)
If several catch clauses are included and one is a generic catch, the generic catch clause should be placed first.
(True/False)
4.9/5
(36)
An exception that must be included if you use a specific construct describes a ____ exception.
(Multiple Choice)
4.8/5
(34)
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.7/5
(36)
The code that you want executed, whether an exception is thrown or not, is placed in the ____ block.
(Multiple Choice)
5.0/5
(41)
A listing of all the methods that are in the execution chain when an exception is thrown is called a(n) ____.
(Multiple Choice)
4.9/5
(33)
____________ are unexpected conditions that happen infrequently.
(Short Answer)
4.7/5
(40)
Once an exception is thrown, control is never returned to the try block.
(True/False)
4.8/5
(33)
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.9/5
(30)
All of the following are problem associated with using a generic catch and not specifying an Exception class at all, EXCEPT ____.
(Multiple Choice)
4.7/5
(39)
While in debug mode, you can look inside a method and examine the method's program statements using ____.
(Multiple Choice)
4.7/5
(41)
When an unhandled exception message is displayed, the method that raised the exception is listed last.
(True/False)
4.7/5
(40)
If the current method does not contain an exception handler, that method is halted and the program terminates immediately.
(True/False)
4.8/5
(42)
If a program encounters an error that it cannot recover from, it ____.
(Multiple Choice)
4.7/5
(31)
Showing 41 - 60 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)