Exam 11: Exception Handling
Exam 1: A First Program Using C42 Questions
Exam 2: Using Data42 Questions
Exam 3: Using Gui Objects and the Visual Studio Ide42 Questions
Exam 4: Making Decisions42 Questions
Exam 5: Looping42 Questions
Exam 6: Using Arrays42 Questions
Exam 7: Using Methods42 Questions
Exam 8: Advanced Method Concepts42 Questions
Exam 9: Using Classes and Objects42 Questions
Exam 10: Introduction to Inheritance42 Questions
Exam 11: Exception Handling42 Questions
Exam 12: Using Controls42 Questions
Exam 13: Handling Events41 Questions
Exam 14: Files and Streams42 Questions
Select questions type
The ____ methods are used to convert string data to another data type, such as int , double , or bool , without fear of generating an exception.
(Multiple Choice)
4.9/5
(43)
____________________ applications are designed so that they continue to operate, possibly at a reduced level, when some part of the system fails.
(Short Answer)
4.9/5
(35)
The memory location where the computer stores the list of locations to which the system must return is known as the ____.
(Multiple Choice)
4.7/5
(31)
When you write a block of code in which something can go wrong, you can place the code in a(n) ____ block.
(Multiple Choice)
4.9/5
(29)
You can place any number of statements in a try block, including those you know will never throw an exception.
(True/False)
4.8/5
(39)
The Exception class contains a read-only property named ____ that contains useful information about an Exception object.
(Multiple Choice)
4.8/5
(26)
An exception of the ____ class is thrown when an attempt is made to store an element of the wrong type within an array.
(Multiple Choice)
4.7/5
(36)
Errors you discover when compiling a program are considered to be exceptions.
(True/False)
5.0/5
(37)
You can deliberately generate a SystemException by forcing a program to contain an error.
(True/False)
4.7/5
(44)
In C#, all exceptions are objects that are members of the ____ class or one of its derived classes.
(Multiple Choice)
4.8/5
(34)
The system of passing an exception through a chain of calling methods is called ____ the exception.
(Multiple Choice)
5.0/5
(36)
The StackTrace property of an Exception can be a useful debugging tool. How is this property used when debugging?
(Essay)
4.8/5
(31)
When you catch an Exception , you can print the value of the ____ property to display a list of methods in the call stack so you can determine the location of the Exception .
(Multiple Choice)
5.0/5
(30)
When an Exception object is thrown and multiple catch blocks are present, what happens?
(Essay)
4.7/5
(44)
A(n) ____________________ is any error condition or unexpected behavior in an executing program.
(Short Answer)
4.9/5
(38)
Showing 21 - 40 of 42
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)