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

1) In Python, it is possible to return to the throw point of an exception via keyword return.
2) Exceptions can be reraised.
3) Function math.sqrt raises a NegativeNumberError exception if called with a
negative-integer argument.
4) Exception object attribute args contains a string that corresponds to the exception’s error message.
5) Exceptions can be raised only by functions explicitly called in try statements.


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

Computer Science & Information Technology

You might also like to view...

The array subscript operator [], when overloaded, cannot:

a. Be used with linked list classes. b. Take a float as an operand. c. Take multiple values inside (e.g., [4,8]). d. Take user-defined objects as operands.

Computer Science & Information Technology

The initial response from an FTP server is called the ____.

A. greeting B. handshake C. sync D. connect

Computer Science & Information Technology

A communications ____ sends electronic data from a source to a destination.

A. wall B. system C. thread D. profile

Computer Science & Information Technology

Which class helps manage the layout of the Scene, and contains objects, such as buttons?

A. Application B. Root C. Swing D. StackPane

Computer Science & Information Technology