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
(41)

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

(Multiple Choice)
4.9/5
(38)

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

(True/False)
4.9/5
(34)

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
(31)

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
(34)

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

(Multiple Choice)
4.7/5
(37)

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

(Multiple Choice)
4.8/5
(40)

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

(Multiple Choice)
4.8/5
(38)

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

(True/False)
4.7/5
(41)

The class ____________________ contains the function what.

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

Filters

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