Making C++ operators work with objects
Making C++ operators more then they can handle
Giving new meaning to existing c++ operators
Making new C++ operators
C. Giving new meaning to existing c++ operators
A constant
A variable
A structure
A header file
True
False
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
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++
To dynamically allocate storage
To statically allocate storage
To allocate storage for a new variable
None of the above are correct
True
False
Only from the base class itself
Both from the base class and form its derived classes
From the class which is a friend of the base class
None of the above is correct
Are a group of functions with the same name
All have the same number and types of arguments
Make life simpler for programmer
May fail unexpectedly due to stress
Data security
Data hiding
Data manipulation
Data definition
True
False
‘has-a’ relationship
‘is-a’ relationship
association relationship
none of the above
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
Are removed from memory when not in use
Permit data to be hidden from other classes
Bring together all aspects of an entity in one place
Can closely model objects in the real world
The for statement itself
The closing brace in a multi-statement loop body
Each statement within the loop body.
The test expression
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
sixth
seventh
eighth
impossible to tell
The return type
The number and type of arguments
The class of a function
None of the above
Private
protected
public
None of the above are correct
True
False
Compare two numeric values
Combine two numeric values
Compare two Boolean values
Combine two Boolean values
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
+
new
all
None of these
derived class
inline function
constructor
none of the above
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
try block
throw exception
catch function
abort()
var1 can not be accessed
var1 is a pointer to a pointer of type int
var1 is a protected data type of integer
this type declaration shows an error
Glorified
Encapsulated
Classified
Overloaded
True
False
scope resolution operator
global operator
Both (a) & (b)
None of these