‘has-a’ relationship
‘is-a’ relationship
association relationship
none of the above
A. ‘has-a’ relationship
True
False
Virtual copying
Inheritance
Encapsulation
None of these
Data security
Data hiding
Data manipulation
Data definition
early binding
run time binding
late binding
linking
Returns a character when any key is pressed
Returns a character when ENTER is pressed
Display a character on the screen when a key is pressed
Does not display a character on the screen
private and protected members
public members only
private members only
None of the above are correct
Only from the innermost loop
Only from the innermost switch
From all loops and switch
Only from the innermost loops or switch
True
False
Call-by-Reference
Call-by-Value
Call-by-Pointer
None of the above
Two
One
No
None of the above
True
False
True
False
True
False
True
False
Private
protected
public
None of the above are correct
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
instantiation
function prototype
constructor
structure
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++
From the point of definition onwards in the program
From the point of definition onwards in the function
From the point of definition onwards in the block
Throughout the function
sixth
seventh
eighth
impossible to tell
The normal cout<< combination
The cin.get() function with one argument
The cin.get() function with two argument
The cin.get() function with three argument
True
False
The for statement itself
The closing brace in a multi-statement loop body
Each statement within the loop body.
The test expression
public
friend
private
not possible
True
False
template class
a generic class
exception
identifier
->
dot operator
::
>>
True
False
True
False
Class C is friend of class A
Class A is friend of class C
Class A and Class C do not have any friend relationship
None of the above