1. . A ……… is a variable that stores the address where another object resides
(A) Variables
(B) Constant
(C) Pointer variable
(D) Object
2. . A member function that examines but does not change the state of its object is an ……..
(A) Accessor
(B) Mutator
(C) Constant member function
(D) Explicit Constructor
3. . A member function that changes the state is a ……..
(A) Accessor
(B) Mutator
(C) Constant member function
(D) Explicit Constructor
4. . The initialization list is used to initialize the …….. directly
(A) Member functions
(B) Data members
(C) Functions
(D) Constants
5. . Data members are declared private, thus restricting access to internal details of the class, while methods intended for general use are made public. This is known as ……
(A) Data members
(B) Encapsulation
(C) Information hiding
(D) Member Functions
6. . log A/B = ……..
(A) log A + log B
(B) log A − log B
(C) XAXB = XA+B
(D) None of these
7. . Suppose you have a group of N numbers and would like to determine the kth largest. This is known as the ……..
(A) Delete problem
(B) Insert problem
(C) Select problem
(D) Update problems
8. . The two most common ways of proving statements in data-structure analysis are proof by ……. and proof by ……
(A) Implicit & Explicit
(B) Induction & Reduction
(C) Induction & Contradiction
(D) None of these
9. . A function that is defined in terms of itself is called …….. C++ allows functions to be recursive
(A) Recursive
(B) Garbage value
(C) Function
(D) Variable
10. . In addition to the return-by-value and return-by-constant-reference idioms, functions can use return-by………
(A) Value
(B) Class
(C) Object
(D) Reference
