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

1. Function templates allow you to write a single function definition that works with many data types.
2. Using a function template requires less code than overloading a function.
3. Exceptions are used to signal errors or unexpected results that occur when a program is running.
4. The try block of a try/catch construct is used to display the definition of an exception parameter.
5. If an exception is not caught, the program will abort execution.
6. A generic function that can work with any data type is called an exception template.


1. T
2. T
3. T
4. F
5. T
6. F

Computer Science & Information Technology

You might also like to view...

The Percent Style button formats selected cells as a percentage with ________

A) one decimal places B) three decimal places C) two decimal places D) zero decimal places

Computer Science & Information Technology

A ____ box is an outline box you create by dragging the pointer in Report Design View.

A. selection B. design C. pointer D. drag

Computer Science & Information Technology

Describe the difference between lossy and lossless compression.

What will be an ideal response?

Computer Science & Information Technology

Which of the following WAN technology types does not use an Ethernet cable as a medium for communication and is used for long distances?

A. DSL B. WiMAX C. E3/T3 D. ATM

Computer Science & Information Technology