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

1) An uncaught exception in C++ is ignored.
2) an exception is thrown in a function, say, f(), but not handled there, the exception
is propagated to the function that called f().
3) A circumstance in C++ where an exception is thrown must be an error.
4) 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) F
2) T
3) F
4) T

Computer Science & Information Technology

You might also like to view...

In the Outlook Web App, the Reply All command sends a copy of the email to everyone to whom the original email was sent except those who received a blind courtesy copy

Indicate whether the statement is true or false

Computer Science & Information Technology

Match the following terms to their meanings:

I. Encrypt II. Decrypt III. Open Read-Only IV. Open Exclusive V. Open Exclusive Read-Only A. Opens the database so that all objects can be opened and viewed, but data and design changes cannot be made B. Opens the database in both Exclusive and Read-Only modes C. Hides data by making the file unreadable until the correct password is entered D. When you no longer want a password to be required to open a database, you can do this or unset the password E. Opens the database so that changes can be made, but no one else may open the database at the same time

Computer Science & Information Technology