Exam 14: Exception Handling

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The class ____ is designed to deal with errors that can be detected only during program execution.

(Multiple Choice)
4.8/5
(46)

The class ____________________ contains the function what.

(Short Answer)
4.8/5
(34)

When an exception is thrown in a function, the function-call stack is ____ so that the exception can be caught in the next try/catch block.

(Multiple Choice)
4.9/5
(34)

If, during program execution, division by ____________________ occurs with integer values and is not addressed by the program, the program might terminate with an error message or might simply hang.

(Short Answer)
4.8/5
(40)

When division by zero occurs and the problem is not addressed, the program crashes with an error message that is ____ dependent.

(Multiple Choice)
4.9/5
(42)

The order of the catch blocks does not affect the program.

(True/False)
4.7/5
(31)

The string concatenation operator is represented by the ____________________ symbol.

(Short Answer)
4.9/5
(37)

If a length greater than the maximum allowed for a string object is used, the class ____________________ deals with the error that occurs.

(Short Answer)
4.8/5
(34)

The class ____ is the base of the classes designed to handle exceptions.

(Multiple Choice)
4.8/5
(38)

To use the assert function in your program, you should include the statement ____.

(Multiple Choice)
4.9/5
(42)
Showing 41 - 50 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)