Some Streams work with input, and some with output
Some Streams work with input, and some with output
Which of the following statements is false?
Which of the following statements is false?
Format flags may be combined using
Format flags may be combined using
The newline character is always included between
The newline character is always included between
You define a structure type globally because _____
You define a structure type globally because _____
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) _____
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
The #ifndef directive tests to see whether ________
The #ifndef directive tests to see whether ________
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
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 _____
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 ______
The use of the break statement in a switch statement is
The use of the break statement in a switch statement is
The keyword used to define a structure is _____
The keyword used to define a structure is _____
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
To be called object-oriented, a programming language must allow
To be called object-oriented, a programming language must allow
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 _____
Which type of statement does not occur in computer programs?
Which type of statement does not occur in computer programs?
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 base class may also be called a
A base class may also be called a
The step-by-step instructions that solve a problem are called _____
The step-by-step instructions that solve a problem are called _____
Overloaded functions are required to
Overloaded functions are required to
Which of the following are valid characters for a numeric literal constant?
Which of the following are valid characters for a numeric 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
Sending a copy of data to a program module is called _______
Sending a copy of data to a program module is called _______
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
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________
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 _____
An array name is a _____
An array name is a _____
The generic type in a template function
The generic type in a template 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?
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 _____
What does C++ append to the end of a string literal constant?
What does C++ append to the end of a string literal constant?
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
Header files often have the file extension _____
Header files often have the file extension _____
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?
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
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 ________
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 _____
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
Redirection redirects
Redirection redirects
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?
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) _____
A default catch block catches
A default catch block catches
The _____ mode tells C++ to open a file for input
The _____ mode tells C++ to open a file for input