Answer the following statements true (T) or false (F)

1) A function does not have an exception specification at all, so exceptions are
prohibited.
2) The exception specification for a function has no effect on an exception that is caught within the function.
3) Suppose an exception of type E is thrown in a function but not listed in the exceptionspecification, and is not caught in the function. The exception will be caught in a calling function that has a catch block that declares an exception of that type.
4) Compilers will check code in functions against exception specifications.
5) A function declared thus: void func(argument_list) throw(); should
throw no exception of any type.


1) F
2) T
3) F
4) F
5) T

Computer Science & Information Technology

You might also like to view...

The AUI port on a router connects to which networking protocol?

a. 100BASE-T b. 10BASE-T c. Token Ring d. Ethernet

Computer Science & Information Technology

List the five assessments involved in creating a vulnerability assessment.

What will be an ideal response?

Computer Science & Information Technology

Presentation ________ control the direction, timing, speed, and manner that slides enter and exit the screen

A) transitions B) layouts C) movements D) formatting

Computer Science & Information Technology

To configure a driver for the 1756-ENET or to manually configure the newer modules, select the ____________________ driver in the Configure Drivers window.

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

Computer Science & Information Technology