Exam 9: Completing the Basics
Exam 1: Preliminaries51 Questions
Exam 2: Problem Solving Using C++52 Questions
Exam 3: Assignment, Formatting, and Interactive52 Questions
Exam 4: Selection Structures51 Questions
Exam 5: Repetition Statements50 Questions
Exam 6: Modularity Using Functions50 Questions
Exam 7: Arrays50 Questions
Exam 8: Io Streams and Data Files50 Questions
Exam 9: Completing the Basics50 Questions
Exam 10: Pointers50 Questions
Exam 11: Introduction to Classes50 Questions
Exam 12: Adding Functionality to Your Classes50 Questions
Exam 13: Structures50 Questions
Exam 14: Numerical Methods50 Questions
Select questions type
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)