The exception facility should be used when

a) Some resource is unavailable to the compiler
b) A program encounters an error and cannot recover, but needs to shut down
gracefully, perhaps saving work..
c) A program requests a resource that is not available.
d) Array index value is out-of-bounds
e) A programmer calls the wrong function
f) A division by zero occurs
g) There is a compiler detected error
h) A call to operator new fails to allocate memory from free store
i) An arithmetic error occurs


b) A program encounters an error and cannot recover, but needs to shut down
gracefully, perhaps saving work..
c) A program requests a resource that is not available.
d) Array index value is out-of-bounds
f) A division by zero occurs
h) A call to operator new fails to allocate memory from free store
i) An arithmetic error occurs

Computer Science & Information Technology

You might also like to view...

The size, shape, color and weight of an object are considered ____________ of the object’s class.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The first, last, next, or previous page in a report may be displayed using the ____________________ buttons.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Excel makes reading formulas simpler by ____ each cell reference in the formula and its corresponding cell in the worksheet.

A. color coding B. bolding C. highlighting D. italicizing

Computer Science & Information Technology

If you use a worksheet to answer the question "what-if," you are performing a what-if ____.

A. probe B. formula C. filter D. analysis

Computer Science & Information Technology