Firstranker's choice
--- Content provided by FirstRanker.com ---
Code: 9F00202
MCA 1st 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
--- Content provided by FirstRanker.com ---
Answer any FIVE questions
All questions carry equal marks
-  (a) Enumerate and explain the need for object oriented programming paradigm. 
(b) Write the applications of object oriented programming. -  (a) Explain the structure of a C++ program. 
--- Content provided by FirstRanker.com ---
(b) What are the control structures in C++? Explain in detail. -  (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. -  (a) Describe how memory is allocated to objects in C++. 
(b) Write a program to demonstrate the function overloading. -  (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. -  (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? -  (a) Write about file streams and string streams. 
--- Content provided by FirstRanker.com ---
(b) Explain how to handle errors during performing file operations? -  (a) Describe the limitations of exception handling in C++. 
(b) When should a program throw an exception? 
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTUA MCA 3rd Sem last 10 year 2010-2020 Previous Question Papers (JNTU Anantapur)