RGPV Previous Exam Papers CS Object Oriented Technology 4th Sem Dec 2010

RGPV Previous Exam Papers CS

Object Oriented Technology 4th Sem Dec 2010



Note:    The question paper divided into five units.

Each Unit carry an internal choice.  Attempt one

question from each unit. Thus attempt five question in all .All question carry equal marks.

Assume suitable data whenever necessary.

1   (a)  What are the elements of OOPS? How do these make OOPS approach best suited to address real

world problem?

(b)  What do you mean by static class member? Explain the characteristics of static member with

Suitable examples.

2   (a) Explain the following terms in object-oriented programming: abstract data types, visibility and

information hiding, templates.

(b)  What is encapsulation?  What are its advantages? How can encapsulation be enforced in C++?

3   (a) what is association? How will identify association? What are the different forms of association?

(b) Can a destructor be virtual? Can a constructor be virtual? Explain.

©    How does visibility mode control the access of members in the derived class? Explain with an


4   (a) what is the purpose of the class diagram? Describe icons used for class relationship. How can be

used objects as software modules?

(b) What is need for parameterized constructor? Explain the function of constructors with their

declaration inside a class.

5  (a) Write a program to add complex number using operator overloading . What are operations That

cannot be overloaded in C++?

(b) Write a program which reads the bio-data and records of two sessional and then print final result.

Make separate class for bio- data, sessional 1, sessional 2, and final result. Sessinoal  1and 2

sessional and derived form bio-data class . Find result in defined from seassonal  1 and sessional 2

classes .

6  (a) What is multiple inheritance ? When do we used such an inheritance ? Use an example to give the

syntax of it .

(b) What is polymorphism ?  Given an example to illustrate that public member data base class data of

the class becomes the private class member data of the derived class and the base class member

data can not be accessed in the main () function .

7  (a) Write a program to write a text in a file . Display the contents of file in resevar order .

(b)  What are virtual function ? What is early  binding and late binding and why this late binding

preferred ?

(c)  What is containership ? How does it differ from inheritance ?

8   (a) Illustrate the function of the if streams and of stream class for character  input and output and

numeric input  and output with examples.

(b) Employee is a class having member data name , organization and amount . A contribution is

another class having member data name and amount . Write a program to find the total amount

using a friend function.

9   (a) Defines interface in java . How interface are implemented ? How can they be accessed ? How to

apply interfaces ? What is mean by extension of interfaces . Explain with an example .

(b) What is the purpose  of using packages ? How to you  create user –defined package ? Given

example .

10   (a) Write a program which generate a template class by which one can perform integer type data

addition and float type data addition also .

(b) What are generic classes ? Why are they useful  ? Explain with an example how these are

implemented in C++ .

Leave a Comment