Exam 14: Exception Handling

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

In C++,throw is a(n)____________________ word.

(Short Answer)
4.9/5
(86)

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

(Multiple Choice)
4.9/5
(82)

The code to handle exceptions depends on the type of application you develop.

(True/False)
4.9/5
(74)

When an exception occurs in a program,the programmer usually has three choices: ____________________ the program,include code in the program to recover from the exception,or log the error and continue.

(Short Answer)
4.8/5
(73)

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.9/5
(78)

The logic_error and runtime_error classes are defined in the header file ____.

(Multiple Choice)
4.7/5
(88)

Which of the following statements throws a valid exception in C++?

(Multiple Choice)
4.9/5
(79)

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

(Multiple Choice)
4.8/5
(88)

C++ provides all the exception classes you will ever need.

(True/False)
4.7/5
(86)

The class ____________________ contains the function what.

(Short Answer)
4.8/5
(82)
Showing 41 - 50 of 50
close modal

Filters

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