Correct Answer
verified
Short Answer
Correct Answer
verified
View Answer
True/False
Correct Answer
verified
Multiple Choice
A) void f1exception a, exception b) ;
B) void f1 ) exception a;b) ;
C) void f1 ) throw a, throw b;
D) void f1 ) thaw a,b) ;
Correct Answer
verified
True/False
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) throw and catch can be used like gotos
B) the procedure for handling an error depends on the situation
C) need to handle built in exceptions
D) none of the above
Correct Answer
verified
Multiple Choice
A) ArithmeticError
B) DivideByZero
C) bad_alloc
D) MemoryError
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) not throw any exceptions
B) have an exception specification that is a subset of the exception specification of the base class B
C) not throw any exceptions that the function in class B might throw
D) all of the above
Correct Answer
verified
Multiple Choice
A) execution of the try block stops
B) execution of the throw block stops
C) the program always exits
D) execution of the catch block stops
Correct Answer
verified
Short Answer
Correct Answer
verified
View Answer
Multiple Choice
A) not catch the exception in the function
B) throw an integer exception
C) never throw an exception in this function
D) none of the above
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) try
B) throw
C) error
D) exiting
Correct Answer
verified
Multiple Choice
A) the function definition and declaration should have a throw list
B) the function definition, but not the declaration should have a throw list
C) the function should have an empty throw list.
D) all of the above
Correct Answer
verified
Multiple Choice
A) differently from other classes
B) specialized only for exceptions
C) may not have objects declared of that class
D) all of the above
E) none of the above
Correct Answer
verified
True/False
Correct Answer
verified
Short Answer
Correct Answer
verified
Essay
Correct Answer
verified
View Answer
Showing 1 - 20 of 47
Related Exams