Code No: OR
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
MCA-II Semester Supplementary Examinations, August 2009
OBJECT ORIENTED PROGRAMMING THROUGH C++
Time: 3hours Max. Marks:60
Answer Any FIVE questions
All questions carry equal marks
– – –
1.a) What is object oriented programming? Differentiate between OOP and procedure
i) Objects ii) Classes
2.a) List the steps involved in ‘object design phase’ and explain the procedure to
adjust class structure to increase inheritance.
b) What are ‘Responsibilities’? Give the guidelines for assigning responsibilities to
3. a) Enumerate the rules in naming the variables in C++.
b) Explain the benefits of ‘Union Feature’ in C++.
c) Explain the benefits of ‘Modularity’.
4. a) Explain about overloading new and delete operators
b) Differentiate between ‘Abstract Class’ and ‘Concrete Class’. Give examples.
5. Describe the following terms with examples:
i) Multiple inheritance
ii) Base class
iii) Derived class
6. a) Write short notes on ‘Streams’ and ‘Buffers’.
b) What do you mean by ‘Derived class’? Give an example with appropriate class
7.a) Explain the Function template.
b) What is generic programming? What are the advantages?
8. Write short notes on:
i) Dynamic destruction of objects
ii) Run Time Polymorphism