Exam 16: Exception Handling

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Catch blocks are not required to contain:

Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
Verified

D

Select the false statement. The functions set_terminate and set_unexpected:

Free
(Multiple Choice)
4.9/5
(38)
Correct Answer:
Verified

D

The correct order in which an exception is detected and handled is:

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

D

To rethrow an exception, the exception handler must:

(Multiple Choice)
4.8/5
(35)

Which of the following is not an error-handling technique?

(Multiple Choice)
4.8/5
(31)

Select the false statement. A rethrown exception:

(Multiple Choice)
4.9/5
(44)

An advantage of using inheritance with exceptions is:

(Multiple Choice)
4.8/5
(40)

Select the false statement. The new operator:

(Multiple Choice)
5.0/5
(31)

The try block cannot:

(Multiple Choice)
4.8/5
(41)

Which class indicates that an error occurred in which an arithmetic result was larger than the largest number that can be stored in the computer?

(Multiple Choice)
4.8/5
(37)

Once an exception is thrown, when can control return to the throw point?

(Multiple Choice)
4.8/5
(43)

Which of the following is not a case in which function terminate is called?

(Multiple Choice)
4.8/5
(40)

An exception:

(Multiple Choice)
4.9/5
(30)

Both "ignoring the exception" and "aborting the program" are error-handling techniques that:

(Multiple Choice)
4.8/5
(34)

Exception handling should not be used:

(Multiple Choice)
4.8/5
(39)

Exception handling may allow a program to:

(Multiple Choice)
4.9/5
(36)

Select the false statement regarding exceptions.

(Multiple Choice)
4.8/5
(45)

Placing throw) after a function's parameter list:

(Multiple Choice)
4.9/5
(43)

If dynamic memory has been allocated for an object and an exception occurs, then:

(Multiple Choice)
4.8/5
(40)

The proper syntax for a throw list is:

(Multiple Choice)
4.9/5
(46)
Showing 1 - 20 of 24
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)