2005 M C A Object Oriented Programming Question paper for exam preparation. Question paper for 2005 M C A Object Oriented Programming Question paper, 2005 M C A Object Oriented Programming Question paper. SiteMap
K2Questions Logo

2005 M C A Object Oriented Programming Question paper

University Question Papers
2005 M C A Object Oriented Programming Question paper
End-Term Examination
Second Semester [MCA] – MAY 2005

Paper Code: MCA-110 Subject: Object Oriented Programming

Time: 3 Hours Maximum Marks: 60

Note: Question 1 is compulsory. Attempt any one from the rest of the units.

Q. 1 (a) What are generic pointers? Where they can b e used? (8 x 2.5=20)
(b) Differentiate between data encapsulation and data hiding.
(c) Explain the different usage of Scope Resolution operator.
(d) Differentiate between function overloading and function overriding.
(e) Explain virtual classes. Where this concept is used?
(f) What are namespaces? What is the purpose of it?
(g) What are p ersistent objects? Explain.
(h) What are d estructors? Explain their usage.


Unit – I

Q. 2 (a) Explain each o f the operators that are available in C++ but not in C. 5
(b) How object oriented paradigm differ from procedural pro gramming paradigm?
Explain. 5

Q. 3 (a) How inputs and outputs are taken/ displayed in C++? Differentiate between
the input/output operators in C++ and the input/output functions used in C. 5

(b) Write a program in C++ to create and sort an array using insertion sort
method. The array should be created dynamically. 5

Unit – II

Q. 4 (a) What are constructors? Can they be overloaded? Explain with an example. 5
(b) Write a program in C++ to copy one string into another using cop y
constructor. 5

Q. 5 (a) Write a program in C++ to calculate ”n” to the power “p” using default value
parameter for “p”. 5
(b) How garbage collection is done in C++? Explain the role of delete operator for
the purpose. 5


Unit – III

Q. 6 (a) What are the different types of inh eritance? Explain each of them. 3
(b) Write a program of your choice to show the implementation of multiple
inheritance. 7

Q. 7 (a) Explain the rules of operator ov erloading? What operators you cannot
overload? 3
(b) Write a program to overload binary + and += operators usin g friend functions.
7

Unit – IV

Q. 8 (a) What are streams? Explain different stream objects? 3
(b) Write a program to read the contents from a file and then copy the contents to
another file. 7

Q. 9 (a) How exception handling is done in C++? Explain with an example. 5
(b) What are templates classes? Explain with an example. 5



About us | SiteMap | Terms of use | Privacy Policy | Disclaimer | Contact us | ©2010 K2Questions.com

2005 M C A Object Oriented Programming Question paper for exam preparation. Question paper for 2005 M C A Object Oriented Programming Question paper, 2005 M C A Object Oriented Programming Question paper