A constant
A variable
A structure
A header file
B. A variable
To allocate storage
To deallocate storage
To delete variable name
None of the above are correct
True
False
it need not have any object
it should be used only as a derived class
it need not have any members
none of the above
instantiation
function prototype
constructor
destructor
True
False
True
False
True
False
that can not be inherited and accessed by a derived class
that can still be inherited and accessed by a derived class
that can be public
none of the above
You can define your data types
Program statements are simpler than in procedural languages.
An OO program can be taught to correct its own errors.
It's easier to conceptualize an OO program.
True
False
True
False
Goes in the object to the right of the operator
Goes in the object to the left of the operator
Goes in the object of which the operator is a member
Must be returned
no definition in its base class
a definition in its base class
a definition in at least one derived class
definition in base class and at least one derived class
The return type
The number and type of arguments
The class of a function
None of the above
Automatic assignment of data to object during instantiation
Automatic call of a function
To declare a local variable
It is not a keyword in C++
scope resolution operator
global operator
Both (a) & (b)
None of these
True
False
True
False
True
False
True
False
The for statement itself
The closing brace in a multi-statement loop body
Each statement within the loop body.
The test expression
The loop in which it occurs
The block in which it occurs
The function in which it occurs
The program in which it occurs
Two
One
No
None of the above
True
False
the source code should be made available at compile time
the program runs slower
dynamic variables can not be used in the program
static variables can not be used
True
False
Compare two numeric values
Combine two numeric values
Compare two Boolean values
Combine two Boolean values
string constants in your program
program statements in string form
variables whose type is of string
none of the above
True
False
Only from the base class itself
Both form the base class and from its derived classes
From the class which is friend of the base class
None of the above are correct