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

1. A circumstance in C++ where an exception is thrown must be an error.

2. When an event occurs that cannot be managed locally, an exception may be thrown. Throwing the exception object transfers control and information gleaned locally to some calling program unit that manages the event, or the program terminates.


1. False
Explanation: The exceptional circumstance is often an error, but this is not required.
2. True

Computer Science & Information Technology

You might also like to view...

The basic generic functional interface ________ in package java.util.function contains method apply that takes a T argument and returns a value of type R. Calls a method on the T argument and returns that method’s result.

a. Consumer b. Function c. Supplier d. BinaryOperator

Computer Science & Information Technology

A(n) ________ is any color, font, shape, or style that contributes to the the tone or meaning of a presentation

A) design element B) theme C) wizard D) template

Computer Science & Information Technology

VHD based disks are limited to what size?

A. 512 GB B. 1 TB C. 2 TB D. 2 PB

Computer Science & Information Technology

Which of the following tools would a technician use to determine if a CAT6 cable is properly terminated?

A. Cable tester B. Punch down tool C. Crimper D. Multimeter

Computer Science & Information Technology