Term
The line containing a throw statement is known as the ________. |
|
Definition
|
|
Term
The ________ block contains code that directly or indirectly might cause an exception to be thrown. |
|
Definition
|
|
Term
The ______ block handles an exception. |
|
Definition
|
|
Term
When writing function or class templates, you use a(n) ________ to specify the generic data type. |
|
Definition
|
|
Term
The beginning of a template is marked by a(n) ______. |
|
Definition
|
|
Term
When defining objects of class templates, the ________ you wish to pass into the type parameter must be specified. |
|
Definition
|
|
Term
A(n) ______ template works with a specific data type. |
|
Definition
|
|
Term
A(n) ________ container organizes data in a sequential fashion similar to an array. |
|
Definition
|
|
Term
A(n) _______ container uses keys to rapidly access elements. |
|
Definition
|
|
Term
_______ are pointer like objects used to access data stored in a container. |
|
Definition
|
|
Term
The ________ exception is thrown when the new operator fails to allocate the requested amount of memory. |
|
Definition
|
|
Term
There can only be one catch block in a program. t/f |
|
Definition
|
|
Term
When an exception is thrown, but not caught, the program ignores the error. t/f |
|
Definition
|
|
Term
Data may be passed with an exception by storing it in members of an exception class. t/f |
|
Definition
|
|
Term
Once an exception has been thrown, it is not possible for the program to jump back to the throw point. |
|
Definition
|
|
Term
All type parameters defined in a function template must appear at least once in the function parameter list. t/f |
|
Definition
|
|
Term
The compiler creates an instance of a function template in memory as soon as it encounters the template. t/f |
|
Definition
|
|
Term
A class object passed to a function template must overload any operators used on the class object by the template. t/f |
|
Definition
|
|
Term
Only one generic type may be used with a template. t/f |
|
Definition
|
|
Term
In the function template definition, it is not necessary to use each type parameter declared in the template prefix. t/f |
|
Definition
|
|
Term
It is possible to overload two function templates. t/f |
|
Definition
|
|
Term
It is possible to overload a function template and an ordinary (nontemplate) function. t/f |
|
Definition
|
|
Term
A class template may not be derived from another class template. t/f |
|
Definition
|
|
Term
A class template may not be used as a base class. t/f |
|
Definition
|
|
Term
Specialized templates work with a specific data type. t/f |
|
Definition
|
|
Term
When defining an iterator from the STL, the compiler automatically creates the right kind, depending upon the container it is to be used with. t/f |
|
Definition
|
|
Term
STL algorithms are implemented as function templates. t/f |
|
Definition
|
|