RGPV Previous Question Papers BE 3rd Sem Object Oriented Programming Methodology Dec 2003

RGPV Previous Question Papers BE 3rd Semester

Object Oriented Programming Methodology Dec 2003

(Comman for CS,EC/IC IT Engg.)



Note: Attempt one question from each unit.

All question carry equal marks.

1.  (a)  What are different verities of classes? Explain the brief.

(b)  Write a class description for complex numbers. Write methods  for addition, subtraction and

multiplication of complex number .

(c)   Explain virtual inheritance in C++ .


2.(a)   Explain polymorphic variables with example.

(b)   What is difference between virtual and  nor- virtual overriding with example.

(c)   What is parametric overloading?

3. (a)  Prepare a portion of an object oriented program for a library checkout system that shows the date

a book is due and late charges for an overdue book as derived object .

(b)   What are the different elements of object model? Explain.

4 (a)   What are different categories of number function in C++? Explain

(b)    Explain few important characteristic of construct.

(c)    Explain the use of destructor. Point out the main difference between constructor and destructors.

(d)    Explain the significance of data hiding with an example.

5.(a)   What is operator over loading ? Can friend function be used to over load the assignment operator

= ? Justify your answer.

(b)  What is an abstract base class? What is its use?

(c)   What does inheritance mean?

(d)   Why are protected members said to be “inheritance ready” ?

6.   (a)   Explain the following terms :

(i) Through an exception       (ii) Catching an exception    (iii) Try and catch block

(b)    Explain the following:

(i)  Object model       (ii) dynamic model     (iii) functional model    (iv) relationship between the

different models

7.  (a)      Explain links and association with examples. Also give importance of association.

(b)     Explain aggregation versus association.

(c)      Discuss aggregation versus generalization.

8.   Write short notes on any two of the following:

(a) Disinheritance

(b) Inherited methods

© Abstracted base classes

(d) Object- oriented programming languages

(e) Objects interactions

Leave a Comment