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
Which of the following preventive actions might be taken to keep your program from crashing?
(Multiple Choice)
4.8/5
(73)
____________ as a methodical process of finding and reducing bugs or defects in a computer program.
(Short Answer)
4.9/5
(69)
The code that you want executed,whether an exception is thrown or not,is placed in the ____ block.
(Multiple Choice)
4.9/5
(91)
A breakpoint is a point in output that separates correct from incorrect results.
(True/False)
4.9/5
(86)
____ is/are used to facilitate managing exceptions in a consistent,efficient way.
(Multiple Choice)
4.7/5
(95)
If a program encounters an error that it cannot recover from,it ____.
(Multiple Choice)
4.9/5
(83)
When an application is developed,it is extremely important to ____________ the solutions to make sure the program is producing consistently accurate results.
(Short Answer)
4.9/5
(96)
Custom exceptions classes must derive from the System.SystemException class.
(True/False)
4.8/5
(74)
Markers placed in an application to indicate the program should halt execution when it reaches that spot is a ____.
(Multiple Choice)
4.9/5
(81)
The catch clause associated with a try...catch can be omitted as long as you have a finally block.
(True/False)
4.9/5
(85)
When defining your own exception classes,you must use the word "Exception" as part of the identifier.
(True/False)
4.8/5
(90)
If several catch clauses are included and one is a generic catch,the generic catch clause should be placed first.
(True/False)
5.0/5
(80)
____________ are markers that are placed in an application,indicating the program should halt execution when it reaches that point.
(Short Answer)
4.9/5
(84)
During the compilation stage,the errors that are detected are those that violate the logic of the application.
(True/False)
4.9/5
(90)
An error such as attempting to divide by zero during runtime will always throw an exception.
(True/False)
5.0/5
(96)
When an exception is thrown,execution halts in the current method and the CLR attempts to
locate an exception handler to handle the exception.
(True/False)
4.9/5
(75)
An exception that must be included if you use a specific construct describes a ____ exception.
(Multiple Choice)
4.9/5
(79)
Showing 21 - 40 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)