Exam 14: Exception Handling
Exam 1: An Overview of Computers and Programming Languages50 Questions
Exam 2: Basic Elements of C50 Questions
Exam 3: Inputoutput50 Questions
Exam 4: Control Structures I Selection50 Questions
Exam 5: Control Structures II Repetition50 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 Structs50 Questions
Exam 10: Classes and Data Abstraction49 Questions
Exam 11: Inheritance and Composition50 Questions
Exam 12: Pointers, Classes, Virtual Functions, and Abstract Classes50 Questions
Exam 13: Overloading and Templates50 Questions
Exam 14: Exception Handling50 Questions
Exam 15: Recursion50 Questions
Exam 16: Searching, Sorting and the Vector Type50 Questions
Exam 17: Linked Lists50 Questions
Exam 18: Stacks and Queues50 Questions
Select questions type
The class ____ is designed to deal with errors that can be detected only during program execution.
(Multiple Choice)
4.8/5
(46)
When an exception is thrown in a function, the function-call stack is ____ so that the exception can be caught in the next try/catch block.
(Multiple Choice)
4.9/5
(34)
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.8/5
(40)
When division by zero occurs and the problem is not addressed, the program crashes with an error message that is ____ dependent.
(Multiple Choice)
4.9/5
(42)
The string concatenation operator is represented by the ____________________ symbol.
(Short Answer)
4.9/5
(37)
If a length greater than the maximum allowed for a string object is used, the class ____________________ deals with the error that occurs.
(Short Answer)
4.8/5
(34)
The class ____ is the base of the classes designed to handle exceptions.
(Multiple Choice)
4.8/5
(38)
To use the assert function in your program, you should include the statement ____.
(Multiple Choice)
4.9/5
(42)
Showing 41 - 50 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)