RGPV Computer Science (Semester 4)
Object Oriented Technology
December 2015
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1(a) Write an example to show the need of object interaction.
2 M
1(b) Define generic class.
2 M
1(c) Explain abstract data type example. What are its advantage?
3 M
Solve any one question from Q.1(d) & Q.1(e)
1(d) What is dynamic initialization of objects? Justify its important with an example. How it is implemented in programming.
7 M
1(e) Explain what type of operation causes to call copy constructor to be invoked. Write an example to show the use of copy constructor.
7 M

2(a) What do you mean by multiplicity?
2 M
2(b) Define different types of relationships between classes.
2 M
2(c) Write short note on Aggregation vs Generalization.
3 M
Solve any one question from Q.2(d) & Q.2(e)
2(d) What is the difference between association aggregation and inheritance relationship?
7 M
2(e) What is the purpose of class diagram? Describe icons used for class relationships.
7 M

3(a) what are the visibility labels for members?
2 M
3(b) Describe multilevel inheritance with example.
2 M
3(c) What is virtual function, define with example?
3 M
Solve any one question from Q.3(d) & Q.3(e)
3(d) Write a distance class with data members for distance in meters, Centimeters and millimeters. The class must be having overloaded operators + and - for addition and subtraction respectively.
7 M
3(e) Design a class student, exam and result, where result is inherited from exam and exam in inherited from student. Write possible constructors to initialize the value. Write a main function to test he constructor execution by creating objects.
7 M

4(a) What is container class, Define?
2 M
4(b) Name the characteristics of object Oriented Programming.
2 M
4(c) What do you meant by object persistent?
3 M
Solve any one question from Q.4(d) & Q.4(e)
4(d) What is the function supported by file stream classes of performing I/O /Operations?
7 M
4(e) Write a cass template to represent to a generic vector, include a member functions to preform the following tasks:
To Create vector ii) to modify the value of given elements iii) To multiply by a scalar value
7 M

5(a) Define inline function.
2 M
5(b) Explain friend function with example.
2 M
5(c) What are packages? Name some of the package.
3 M
Solve any one question from Q.5(d) & Q.5(e)
5(d) List some of the most common types of exceptions that might occur in JAVA, Give example.
7 M
5(e) Write a program to find the greatest of the three given number, using class and constructor functions.
7 M



More question papers from Object Oriented Technology
SPONSORED ADVERTISEMENTS