Correct Answer
verified
Multiple Choice
A) assert(0 = divisor) ;
B) assert(divisor != 0) ;
C) assert(divisor 0) ;
D) assert(divisor is 0) ;
Correct Answer
verified
Multiple Choice
A) Terminate the program.
B) Include code in the program to recover from the exception.
C) Log the error and continue.
D) Include code in the header file.
Correct Answer
verified
Multiple Choice
A) zero
B) one
C) two
D) three
Correct Answer
verified
Multiple Choice
A) check
B) look
C) assert
D) what
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) log
B) what
C) terminate
D) close
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) class myClass {};
B) class myClass {} implements exception;
C) class myExceptionClass {} extends exception;
D) class myExceptionClass {} throws exception;
Correct Answer
verified
Short Answer
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) catch() { }
B) catch(...) { }
C) catch(*) { }
D) catch(exception) { }
Correct Answer
verified
Multiple Choice
A) rethrow;
B) throw;
C) rethrow exception;
D) throw exception;
Correct Answer
verified
Multiple Choice
A) stdex
B) stdlib
C) stdexcept
D) exception
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) destroyed
B) allocated
C) unbound
D) unwound
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) throw.function() ;
B) throw 2;
C) throws str;
D) 4 throw;
Correct Answer
verified
Multiple Choice
A) that
B) this
C) log
D) what
Correct Answer
verified
True/False
Correct Answer
verified
Showing 21 - 40 of 42
Related Exams