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
When code is included in all three blocks for the try...catch...finally construct, ____.
Free
(Multiple Choice)
4.8/5
(40)
Correct Answer:
C
A stack trace is a listing of all the methods that are in the execution chain when the exception is thrown.
Free
(True/False)
4.7/5
(39)
Correct Answer:
True
Custom exceptions classes must derive from the System.SystemException class.
Free
(True/False)
5.0/5
(36)
Correct Answer:
False
____________ are markers that are placed in an application, indicating the program should halt execution when it reaches that point.
(Short Answer)
4.8/5
(35)
C# adheres to a fairly sophisticated set of rules known as C# ____________.
(Short Answer)
4.8/5
(34)
The ____ property associated with exception objects returns a string describing the exception.
(Multiple Choice)
4.9/5
(43)
If an event that creates a problem happens frequently, it is best to write instructions to take care of the problem with ____.
(Multiple Choice)
5.0/5
(42)
If a try block is included, you must also specify a catch clause.
(True/False)
4.8/5
(31)
Which of the following preventive actions might be taken to keep your program from crashing?
(Multiple Choice)
4.8/5
(29)
The property of the Exception class that returns a string describing the exception is ____.
(Multiple Choice)
4.9/5
(36)
What order should ArithmeticException, DivideByZeroException, and Exception catch clauses be placed in a try...catch block?
(Multiple Choice)
4.9/5
(39)
An error such as attempting to divide by zero during runtime will always throw an exception.
(True/False)
4.8/5
(35)
When an unexpected error occurs in the try block that throws an exception, control transfers ____.
(Multiple Choice)
4.8/5
(44)
A(n) ____________ error is associated with a language rule violation.
(Short Answer)
4.8/5
(39)
The catch clause associated with a try...catch can be omitted as long as you have a finally block.
(True/False)
4.9/5
(44)
Showing 1 - 20 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)