LOADING

Questions

Polymorphism_concepts

ORQ-2(a)

(b)    What do you mean by function over loading? Why it required? Explain it with
example.

(7)
(Winter - Dec -
2015)
Q-2(b)

(b)    What do you mean by function over ridding? Why it required? Explain it with
example.

(7)
(Winter - Dec -
2015)
ORQ-3(b)

(b)  What is an operator function? Write a program to overload binary + operator as
a member function.

(7)
(Winter - Dec -
2015)

(b)  What is pure virtual function? And explain abstract class with Example.

(Winter - Dec -
2015)

(b)  What is pure virtual function? And explain abstract class with Example.

(Winter - Dec -
2015)
Q-4(a)

  
(a)  What is Operator overloading? What are the rules for operator overloading?

(7)
(Winter - Dec -
2015)
ORQ-4(b)

(b)  What  is  polymorphism?  How  is  it  achieved  in  C++?  Explain  with  suitable
example.
 

(7)
(Winter - Dec -
2015)
OR
Q-4(b)

(b)  Write a program to overload binary operators + (plus), - (minus).  
 

(7)
(Winter - Dec -
2015)
Q-5(a)

(a)    What is the purpose of operator overloading? List the C++ operators which
cannot be over  ridden. Write a function to overload any binary operator and
show that how it can be used.

(7)
(Winter - Dec -
2015)

 
(a)  Explain the following with example
1)  Abstract Class
2)  Virtual function
3)  Virtual base class

(Winter - Dec -
2015)
ORQ-5(a)

(b) List out the operators which can not be overloaded? Write a program in C++ to
Overload unary plus(++) operator.

(7)
(Winter - Dec -
2015)
Q-5(b)

(b)    What is pure virtual function? What is its need? Explain with example.
 

(7)
(Winter - Dec -
2015)

(b)  Write a program in C++ to overload binary plus (+) operator

(Winter - Dec -
2015)
ORQ-5(b)

(b)    What is virtual funct ion? What is its need? Explain with example.
   

(7)
(Winter - Dec -
2015)