Which of the following assigns the number 5 to the area variable?
Which of the following assigns the number 5 to the area variable?
A widget is to the blueprint for a widget as an object is to
A widget is to the blueprint for a widget as an object is to
Some Streams work with input, and some with output
Some Streams work with input, and some with output
What does C++ append to the end of a string literal constant?
What does C++ append to the end of a string literal constant?
When the compiler cannot differentiate between two overloaded constructors, they are called
When the compiler cannot differentiate between two overloaded constructors, they are called
A base class may also be called a
A base class may also be called a
The type to be used in an instantiation of a class template follows ________
The type to be used in an instantiation of a class template follows ________
The use of the break statement in a switch statement is
The use of the break statement in a switch statement is
The _____ mode tells C++ to open a file for input
The _____ mode tells C++ to open a file for input
Which of the following are valid characters for a numeric literal constant?
Which of the following are valid characters for a numeric literal constant?
Which of the following statements is false?
Which of the following statements is false?
Using the wardrobe structure within the ShopList structure is an example of a good programming principle, known as _____
Using the wardrobe structure within the ShopList structure is an example of a good programming principle, known as _____
The step-by-step instructions that solve a problem are called _____
The step-by-step instructions that solve a problem are called _____
A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program?
A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program?
Adding a derived class to a base class requires fundamental changes to the base class
Adding a derived class to a base class requires fundamental changes to the base class
A default catch block catches
A default catch block catches
Paying attention to the important properties while ignoring inessential details is known as________
Paying attention to the important properties while ignoring inessential details is known as________
If you design a class that needs special initialization tasks, you will want to design a(n) _____
If you design a class that needs special initialization tasks, you will want to design a(n) _____
Overloaded functions are required to
Overloaded functions are required to
Of the three ways to pass arguments to functions, only passing by _____ and passing by _____ allow the function to modify the argument in the calling program
Of the three ways to pass arguments to functions, only passing by _____ and passing by _____ allow the function to modify the argument in the calling program
Evaluate the following expression: 3 >6&&7>4
Evaluate the following expression: 3 >6&&7>4
If container classes are carefully constructed, then these tools are available to work with structures that are not ______
If container classes are carefully constructed, then these tools are available to work with structures that are not ______
When you pass a variable _____, C++ passes only the contents of the variable to the receiving function
When you pass a variable _____, C++ passes only the contents of the variable to the receiving function
Which of the following might be used to convert high-level language instructions into machine language?
Which of the following might be used to convert high-level language instructions into machine language?
The newline character is always included between
The newline character is always included between
The #ifndef directive tests to see whether ________
The #ifndef directive tests to see whether ________
Which type of statement does not occur in computer programs?
Which type of statement does not occur in computer programs?
An array name is a _____
An array name is a _____
If you create an instantiation of a class template with an int, and then create a second instantiation with a double, then
If you create an instantiation of a class template with an int, and then create a second instantiation with a double, then
Redirection redirects
Redirection redirects
The keyword used to define a structure is _____
The keyword used to define a structure is _____
Header files often have the file extension _____
Header files often have the file extension _____
To use either an input or output file, the program must include the _____ header file
To use either an input or output file, the program must include the _____ header file
The generic type in a template function
The generic type in a template function
To enter a comment in a C++ program, you begin the comment with _____
To enter a comment in a C++ program, you begin the comment with _____
A function that changes the state of the cout object is called a(n) _____
A function that changes the state of the cout object is called a(n) _____
Which of the following statements allows the user to enter data at the keyboard?
Which of the following statements allows the user to enter data at the keyboard?
A function that is called automatically each time an object is destroyed is a
A function that is called automatically each time an object is destroyed is a
A function that returns no values to the program that calls it is _____
A function that returns no values to the program that calls it is _____
To be called object-oriented, a programming language must allow
To be called object-oriented, a programming language must allow
When a child class function is called, the compiler looks first for a matching function name in the _____
When a child class function is called, the compiler looks first for a matching function name in the _____
C++ allows you to define the same functions more than once in the same program _____
C++ allows you to define the same functions more than once in the same program _____
To expose a data member to the program, you must declare the data member in the _____ section of the class
To expose a data member to the program, you must declare the data member in the _____ section of the class
Format flags may be combined using
Format flags may be combined using
You define a structure type globally because _____
You define a structure type globally because _____
Sending a copy of data to a program module is called _______
Sending a copy of data to a program module is called _______