1.Which of the following is not a valid type of polymorphism?
2.What is the function used to describe the situation, when a function in base class is redefined in inherited class?
3.How can a call to an overloaded function be ambiguous?
a.By misspelling the name
b.There might be two or more functions with the same name
c.There might be two or more functions with equally appropriate signatures
d.None of these
4.A complete binary tree with the property that the value at each node is at least as large as the values at its children is known as
a.Binary search tree
c.Completely balanced tree
Exp:A max-heap is a complete binary tree in which the value in each internal node is greater than or equal to the values in the children of that node.
5.Which of the following correctly describes overloading of functions?
6.Which of the following operator is overloaded for object cout?
b.<< c.+ d.= Answer:a 7.Which of the following operators cannot be overloaded? a. b.->
8.Which of the following is a mechanism of static polymorphism?
d.All of the above
9.Which of the following keyword is used to overload an operator?
10.The operator << when overloaded in a class a.must be a member function b.must be a non member function c.can be both (A) & (B) above d.cannot be overloaded Answer:c