Exam 10: Exception Handling
Exam 1: An Overview of Computer Programming50 Questions
Exam 2: Applications and Data50 Questions
Exam 3: Making Decisions50 Questions
Exam 4: Looping50 Questions
Exam 5: Arrays50 Questions
Exam 6: Using Methods50 Questions
Exam 7: Object-Oriented Concepts50 Questions
Exam 8: More Object Concepts50 Questions
Exam 9: Event-Driven Programming With Graphical User Interfaces50 Questions
Exam 10: Exception Handling50 Questions
Exam 11: System Modeling With the Uml50 Questions
Exam 12: Manipulating Larger Quantities of Data50 Questions
Select questions type
In some languages, if an exception is thrown from one method and caught by another, you must write a(n) ____________________.
(Short Answer)
4.8/5
(35)
When a method in an object-oriented program causes an exception, such as dividing by 0, the method ____.
(Multiple Choice)
4.9/5
(41)
When illegal division by 0 takes place, an exception object is not created automatically by the object-oriented language application.
(True/False)
4.9/5
(41)
In object-oriented terminology, you "____" a segment of code that might cause an error.
(Multiple Choice)
4.8/5
(38)
An ____ indicates exception types that might be thrown in the method header.
(Multiple Choice)
4.9/5
(37)
The ____________________ is where the computer stores the list of method locations to which the system must return.
(Short Answer)
4.8/5
(36)
When you create your own exceptions by inheriting from a built-in Exception class, you gain access to methods contained in the ____________________ class, such as those that display a default message describing an exception and that display the stack trace.
(Short Answer)
4.8/5
(43)
You can handle ____________________ either in a traditional manner or in an object-oriented manner.
(Short Answer)
4.9/5
(28)
Showing 41 - 50 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)