Exam 9: Completing the Basics

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

The ____ method returns the number of characters in the string.

(Multiple Choice)
4.8/5
(35)

A common error associated with defining and processing strings is forgetting to include the ____________________ header file when using string class objects.

(Short Answer)
4.7/5
(39)

Multiple catch blocks can be used as long as each block catches a(n) ____________________ data type.

(Short Answer)
4.9/5
(36)

In exception handling, an exception is thrown from within the function after its execution.

(True/False)
4.7/5
(36)

The process of generating and passing an exception is referred to as ____.

(Multiple Choice)
4.8/5
(43)

The parameter name in the catch block conventionally uses the letter ___________________ for exception.

(Short Answer)
4.9/5
(33)

The lowercase string character is converted to its uppercase equivalent by using the ____ function.

(Multiple Choice)
5.0/5
(40)

Inside the parentheses of a catch block are the ____ of the exception that s thrown and a parameter name used to receive the exception.

(Multiple Choice)
4.8/5
(38)

The ____ object reads a set of characters up to a blank space or a newline character.

(Multiple Choice)
4.8/5
(47)

The string class function int length() returns the length of the string.

(True/False)
4.9/5
(37)

The ____________________ keyword identifies the start of an exception handling block of code.

(Short Answer)
5.0/5
(43)

Unlike the built-in data types, a class does not define a valid set of data values.

(True/False)
5.0/5
(47)

The int isupper(charExp) function returns a true (non-zero integer) if charExp evaluates to a(n) ____________________ letter.

(Short Answer)
4.9/5
(35)

In exception handling, when an error occurs while a function is executing, a(n) ____ is created.

(Multiple Choice)
4.9/5
(40)

____ blocks serve as exception handlers for any exceptions thrown by the statements in the try block.

(Multiple Choice)
4.7/5
(29)

In general, ____ fundamental types of errors can cause C++ exceptions.

(Multiple Choice)
4.8/5
(35)

C++ compilers have added a technique designed for error detection and handling referred to as ____.

(Multiple Choice)
4.8/5
(42)

In C++, a character is stored as a(n) ____ value.

(Multiple Choice)
4.9/5
(29)

Strings cannot be input from the keyboard and displayed on the screen.

(True/False)
4.8/5
(44)

Each character in a string is stored in binary using the ASCII or ____ code.

(Multiple Choice)
4.8/5
(40)
Showing 21 - 40 of 50
close modal

Filters

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