Andhra University 2005 M.C.A OBJECT ORIENTED PROGRAMMING - Question Paper
Friday, 03 May 2013 09:55Web
2005 Andhra University M.C.A Computer Applications OBJECT ORIENTED PROGRAMMING ques. paper
MCA 1.2.4
OBJECT ORIENTED PROGRAMMING
First ques. is Compulsory
ans any 4 from the remaining
ans all parts of any ques. at 1 place.
Time: three Hrs.
Max. Marks: 100
1. explain the subsequent
a) Conversion rules and casts in C++,br / b) Static and Const member functions
c) Template Parameters
d) Copy Constructor
2. a) Outline the underlying concepts of Object Oriented programming
b) Write a class description for complex numbers. Write methods for addition and subtraction.
3. a) elaborate the function calling mechanisms supported by C++. discuss them with examples
b) Outline with a suitable C++ program, the concept of 2 classes having a common friend function.
4. a) elaborate the kinds of Inheritances?
b) explain the concept of constructors under inheritance using relevant examples.
5. a) What is dynamic binding? Outline this concept through a virtual destructor.
b) discuss with an example how to overload postfix(++) operator
6. a) elaborate the various kinds of containers supported by C++ standard library.
b) explain how the file I/O is handled in C++
7. a) explain the exception handling mechanism in C++
b) Using templates, write a generic version of bubble sort, complete with assertion. Use a random number generator to generate test data.
8. With a relevant example, discuss the design of a project using UML.
Earning: Approval pending. |