Assume that a program contains a programmer-defined void function. When C++ encounters the function's closing brace (}), C++ returns to the statement _____
Which of the following is not a programming control structure?
A _____ is a single item of information about a person, place, or thing
A major advantage of inheritance is
The last statement in a function is often a(n) _____
To create and execute a C++ program, you need to have access to
If you omit any constructor argument when you instantiate an object, you must use default values______
The loop condition in a flowchart is represented by a(n) _____
Which of the following, if any, are invalid names for a variable?
To use a template class member function, use the ________ with the instantiation
When a class is derived from another derived class, the newly derived class
Which of the following are valid characters constants?
The most common operation used in constructors is
Inheritance occurs when a class adopts all the traits of _________
The bitwise OR operator is a
Which (if any) of the following is NOT a programmer-defined type
When a variable exists or is accessible, it is said to be _____
The feature that allows the same operations to be carried out differently depending on the object is _____
When the function int someFunction(char c) throw( ) is executed, _____
The two statements that can be used to change the flow of control are
Many programmers separate a class into two files: _____
Inheritance is the principle that
If you assign a default value to any variable in a function prototype's parameter list, then _____
The dot operator (or class member access operator) connects the following two entities (reading from left to right):
With a template class, _____ type is generic
If you want to use a class to define objects in many different programs, you should define the class in a C++ _____ file
In a simple 'if' statement with no 'else'. What happens if the condition following the 'if is false?
If two types of errors may be thrown, you should write _______
Template classes that have already been written to perform common class tasks are called _____
A class Stockltems has four data members and three function members. You defineobjects as members of the class. Which is true?
The continue statement should be written only
Assume a program contains a void function named displayName, which requires no formal parameters. Which of the following is a correct function prototype for this function?
Which of the following is a C++ class?
If p and q are assigned the values 2 and 3 respectively then the statement p = q++
A file pointer always contains the address of the file
You declare a function with a function _____, which is typically entered at the beginning of the program, below the #include directives
Precedence determines which operator
Which of the following is the insertion operator?
If no constructors can specified for a derived class, objects of the derived class will use the constructors in the base class
The get() function returns _____
The most efficient data type for a variable that the numberis the _____ data type
The number 5.5e3 is a _____ constant
The compiler determines the type used in a template function via ___________
Simple routines that programmers use as place holders while a system is being tested are called _____
The variables declared in a statement block or listed in a function header's parameterlist are considered _____ variables
In C++, the address operator is the following symbol _____
Within a program, you can instantiate ________that have a class template type
Assume that a variable will need to store only integers in the range of 1 throughThe most efficient data type for the variable is _____
You construct a class in two sections, known as the _____
You can place function templates
Please disable the adBlock and continue. Thank you.