Exam 11: Exception Handling
Exam 1: A First Program Using C#40 Questions
Exam 2: Using Data39 Questions
Exam 3: Using Gui Objects and the Visual Studio Ide40 Questions
Exam 5: Looping40 Questions
Exam 6: Using Arrays40 Questions
Exam 7: Using Methods39 Questions
Exam 8: Advanced Method Concepts39 Questions
Exam 9: Using Classes and Objects39 Questions
Exam 10: Introduction to Inheritance40 Questions
Exam 11: Exception Handling39 Questions
Exam 12: Using Controls40 Questions
Exam 13: Handling Events41 Questions
Exam 14: Files and Streams40 Questions
Exam 15: Making Decisions40 Questions
Select questions type
The StackTrace property of an Exception can be a useful debugging tool.How is this property used when debugging?
(Essay)
4.8/5
(30)
What represents the degree to which a system is resilient to stress and able to maintain correct functioning?
(Multiple Choice)
4.8/5
(41)
If you are working on a professional project, Microsoft recommends that you use the general Exception class in a catch block.
(True/False)
4.7/5
(33)
Most exceptions that are used by programmers derive from three C# classes.What are those classes?
(Essay)
4.9/5
(40)
What read-only property in the Exception class contains useful information about an Exception object?
(Multiple Choice)
4.9/5
(32)
What block can you use to ensure that input and output related files are properly closed?
(Multiple Choice)
4.8/5
(43)
What 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.7/5
(32)
If a finally block is associated with a try…catch pair, what are the three possible outcomes of the try that result in execution of the finally block?
(Essay)
4.9/5
(34)
What type of exception is thrown if there is an issue with file operations, such as opening, reading from, or writing to a file?
(Multiple Choice)
4.8/5
(45)
An exception belonging to what specific class is thrown when an attempt is made to store an element of the wrong type within an array?
(Multiple Choice)
4.9/5
(39)
The memory location where the computer stores the list of locations to which the system must return is known by what term?
(Multiple Choice)
4.8/5
(45)
You can place any number of statements in a try block, including those you know will never throw an exception.
(True/False)
4.7/5
(42)
When creating an Exception class, what is not one of the three recommended constructors needed?
(Multiple Choice)
4.8/5
(33)
All classes in the C# programming language, including the Exception class, are descendants of what built in class?
(Multiple Choice)
4.8/5
(36)
When you catch an Exception, what property holds a list of methods in the call stack as its value, allowing you to determine the location of the Exception?
(Multiple Choice)
4.9/5
(39)
In general, what block do you use to perform clean-up tasks that must occur, regardless of whether any errors occurred or were caught?
(Multiple Choice)
4.8/5
(40)
Showing 21 - 39 of 39
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)