Exam 14: Exception Handling
Exam 1: An Overview of Computers and Programming Languages50 Questions
Exam 2: Basic Elements of C++50 Questions
Exam 3: Input/Output50 Questions
Exam 4: Control Structures I (Selection)50 Questions
Exam 5: Control Structures II (Repetition)50 Questions
Exam 6: User-Defined Functions50 Questions
Exam 7: User-Defined Simple Data Types, Namespaces, and the string Type50 Questions
Exam 8: Arrays and Strings50 Questions
Exam 9: Records (structs)50 Questions
Exam 10: Classes and Data Abstraction50 Questions
Exam 11: Inheritance and Composition50 Questions
Exam 12: Pointers, Classes, Virtual Functions, Abstract Classes, and Lists50 Questions
Exam 13: Overloading and Templates50 Questions
Exam 14: Exception Handling50 Questions
Exam 15: Recursion50 Questions
Exam 16: Linked Lists50 Questions
Exam 17: Stacks and Queues50 Questions
Exam 18: Searching and Sorting Algorithms50 Questions
Exam 19: Binary Trees50 Questions
Exam 20: Graphs50 Questions
Exam 21: Standard Template Library (STL)50 Questions
Select questions type
To use the assert function in your program,you should include the statement ____.
(Multiple Choice)
4.9/5
(38)
The code to handle exceptions depends on the type of application you develop.
(True/False)
4.9/5
(34)
When an exception occurs in a program,the programmer usually has three choices: ____________________ the program,include code in the program to recover from the exception,or log the error and continue.
(Short Answer)
4.8/5
(31)
If,during program execution,division by ____________________ occurs with integer values and is not addressed by the program,the program might terminate with an error message or might simply hang.
(Short Answer)
4.9/5
(34)
The logic_error and runtime_error classes are defined in the header file ____.
(Multiple Choice)
4.7/5
(37)
Which of the following statements throws a valid exception in C++?
(Multiple Choice)
4.8/5
(40)
The class ____ is the base of the classes designed to handle exceptions.
(Multiple Choice)
4.8/5
(38)
Showing 41 - 50 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)