The dynamic memory is allocated by the operator new from the ________ area.

A. static B. run time C. friend
D. pointers E. void F. int
G. compile time H. size of I. heap
J. public K. register L. virtual

4.1 The dynamic memory is allocated by the operator new from the ________ area.
4.2 An integer variable is declared as ________ to speed up data access.
4.3 ________ pointers cannot be dereferenced without explicit type casting.
4.4 ________ function allows derived classes to provide different versions of a base class
function.
4.5 If the value of a local variable is to be preserved between successive calls to that
function, it is to be declared as ________.
4.6 Generic-data type is known at ________.
4.7 ________ function is allowed to access the private and protected members of a class
using class objects.
4.8 ________ is used to find the number of bytes taken for the user define object.
4.9 Strings are always handled through ________.
4.10 A function that has return type ________ does not return anything.

Structures in C++ cannot have member functions.

Each statement below is either TRUE or FALSE. Choose the most appropriate one
and ENTER in the “tear-off” sheet attached to the question paper, following
instructions therein.

2.1 Structures in C++ cannot have member functions.
2.2 Objects cannot be declared as part of a union element.
2.3 Friend functions cannot be used to overload operators.
2.4 A constructor can be used to convert a basic type to a class type data.
2.5 Casting operator function and constructor function have the same syntax.
2.6 Pure virtual functions force the programmer to redefine the virtual function.
2.7 A pointer to a base class cannot be made to point to objects of derived class.
2.8 A stream may be connected to more than one file at a time.
2.9 Binary files store floating-point values more accurately and compactly than the text files.
2.10 An exception handling mechanism is used to detecting syntax errors in the program.

In overloading an operator we can use

1.10 In overloading an operator we can use
A) To create a new operator
B) To overload the conditional operator, a ternary operator
C) Only to overload unary operator
D) To overload the unary as well as binary operator

The break statement is used

1.9 The break statement is used
A) To exit from the function in which it is used
B) To exit from the program
C) To exit from the loop in which it is used
D) To exit from all the nested loops

A function with variable number of arguments

1.8 A function with variable number of arguments
A) Have only one prototype declaration
B) Should have as many as prototype declaration to be used to actual functions used with
different parameters
C) No prototype of the function required
D) None of the above

A class can have

1.7 A class can have
A) Only one constructor
B) Any number of constructors
C) Same number of constructors as the number of data members
D) None of the above

ios represents

1.5 ios represents
A) A class member function
B) A constant object
C) A stream
D) A base class