Download JNTUA MCA 2014 Aug Supple 2nd Sem 9F00202 Object Oriented Programming Question Paper

Download JNTUA (JNTU Anantapur) MCA (Master of Computer Applications) 2014 August Supplementary 2nd Sem 9F00202 Object Oriented Programming Question Paper




Code: 9F00202
MCA II Semester Regular & Supplementary Examinations August 2014
OBJECT ORIENTED PROGRAMMING
(For students admitted in 2009, 2010, 2011, 2012 & 2013 only)

Time: 3 hours Max. Marks: 60
Answer any FIVE questions
All questions carry equal marks
*****
1. (a) Enumerate and explain the need for object oriented programming paradigm.
(b)
Write the applications of object oriented programming.

2. (a) Explain the structure of a C++ program.
(b) What are the control structures in C++? Explain in detail.

3. (a) The effect of a default argument can be alternatively achieved by overloading. Discuss with
an example.
(b) Give a detailed description of friend function and explain it with an example.

4. (a) Describe how memory is allocated to objects in C++.
(b) Write a program to demonstrate the function overloading.

5. (a) Class B is inherited from class A. A uses a dynamic pointer. B inherits that dynamic pointer
and uses another dynamic pointer. Write constructor and destructor for both A and B.
(b) Write a program to invoking derived class member through base class pointer.

6. (a) Distinguish between base and derived classes. How can members from one be accessed
in the other?
(b) What is the difference between compile time polymorphism and run time polymorphism?

7. (a) Write about file streams and string streams.
(b) Explain how to handle errors during performing file operations?

8. (a) Describe the limitations of exception handling in C++.
(b)
When should a program throw an exception?


*****
FirstRanker.com - FirstRanker's Choice

This post was last modified on 28 July 2020