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
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.
The initial response from an FTP server is called the ____.
A. greeting B. handshake C. sync D. connect
A communications ____ sends electronic data from a source to a destination.
A. wall B. system C. thread D. profile
Which class helps manage the layout of the Scene, and contains objects, such as buttons?
A. Application B. Root C. Swing D. StackPane