How To Exam?

a knowledge trading engine...


Centre for Development of Advanced Computing(C-DAC) 2005 M.C.A -110 Object Oriented Programming - Question Paper

Saturday, 02 February 2013 01:10Web

End-Term exam
Second Semester [MCA] – MAY 2005

Paper Code: MCA-110 Subject: Object Oriented Programming
Time: three Hours Maximum Marks: 60

Q. one (a) elaborate generic pointers? Where they can be used? (8 x 2.5=20)
(b) Differentiate ranging from data encapsulation and data hiding.
(c) discuss the various usage of Scope Resolution operator.
(d) Differentiate ranging from function overloading and function overriding.
(e) discuss virtual classes. Where this concept is used?
(f) elaborate namespaces? What is the purpose of it?
(g) elaborate persistent objects? discuss.
(h) elaborate destructors? discuss their usage.

Unit – I

Q. two (a) discuss every of the operators that are available in C++ but not in C. 5
(b) How object oriented paradigm differ from procedural programming paradigm?
Explain. 5

Q. three (a) How inputs and outputs are taken/ displayed in C++? Differentiate ranging from
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. four (a) elaborate constructors? Can they be overloaded? discuss with an example. 5
(b) Write a program in C++ to copy 1 string into a different using copy
constructor. 5

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

Unit – III

Q. six (a) elaborate the various kinds of inheritance? discuss every of them. 3
(b) Write a program of your option to show the implementation of multiple
inheritance. 7

Q. seven (a) discuss the rules of operator overloading? What operators you cannot
overload? 3
(b) Write a program to overload binary + and += operators using friend functions.
7

Unit – IV

Q. eight (a) elaborate streams? discuss various stream objects? 3
(b) Write a program to learn the contents from a file and then copy the contents to
a different file. 7

Q. nine (a) How exception handling is done in C++? discuss with an example. 5
(b) elaborate templates classes? discuss with an example. 5


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Centre for Development of Advanced Computing(C-DAC) 2005 M.C.A -110 Object Oriented Programming - Question Paper