instantiation
function prototype
constructor
structure
C. constructor
private and protected members
public members only
private members only
None of the above are correct
const members can be invoked on both const as well as nonconst objects
const members can be invoked only on const objects and not on nonconst objects
nonconst members can be invoked on const objects as well as nonconst objects
none of the above
True
False
True
False
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.
scope resolution operator
global operator
Both (a) & (b)
None of these
A constant
A variable
A structure
A header file
‘has-a’ relationship
‘is-a’ relationship
association relationship
none of the above
instantiation
function prototype
constructor
structure
Private
protected
public
None of the above are correct
True
False
+
new
all
None of these
A file in which recoreds are arranged in a way they are inserted in a file
A file in which records are arranged in a particular order
Files which are stored on a direct access storage medium
None of the above
To allocate storage
To deallocate storage
To delete variable name
None of the above are correct
True
False
In the object of which it is a member
In the class of which it is a member
In the object of the class of which it is a member
In the public part of its class
instantiation
function prototype
constructor
destructor
Two
One
No
None of the above
try block
throw exception
catch function
abort()
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
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
->
dot operator
::
>>
True
False
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
pure class
abstract class
base class
derived class
True
False
Two
One
No
None of the above
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
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
True
False