This download link is referred from the post: JNTUA MCA 2nd Sem last 10 year 2010-2020 Previous Question Papers (JNTU Anantapur)
FirstRanker.com
Firstranker's choice
FirstRanker.com
--- Content provided by FirstRanker.com ---
Code: 9F00202
MCA II Semester Regular & Supplementary Examinations May 2016
OBJECT ORIENTED PROGRAMMING
(For students admitted in 2010, 2011, 2012, 2013, 2014 & 2015 only)
Time: 3 hours Max. Marks: 60
--- Content provided by FirstRanker.com ---
Answer any FIVE questions
All questions carry equal marks
- (a) Bring out the differences between C and C++.
(b) Mention the characteristics of object oriented program.
(c) How to create class & instances, also specify access specifiers. - (a) Explain the different types of storage class.
(b) Sketch a neat structure of C++ and elaborate the sections.
(c) Write C++ program to find the sum of 10 natural numbers without using any loop statement. - (a) Define class. Mention the class with the following details:
Class employee { int no; clor name[30];--- Content provided by FirstRanker.com ---
float Color code; public : void accept ( );
Void display ( ); }; accept the details & display the same.
(b) Distinguish between Class and Abstract class.
(c) “Constructor can be over loaded” if yes justify your answer with an example. - (a) List out the operators that are not overloaded & not by friend also.
--- Content provided by FirstRanker.com ---
(b) Using the class template perform arithmetic operations on integer, float & double. - (a) Write a C++ program to overload the)*, + of two complex numbers using friend function.
(b) Explain calling of constructor'& destructor in case of multiple inheritance with an example? - (a) Mention the different types of inheritance with an example.
(b) List out the important points of virtual functions & bring out the difference between virtual & pure--- Content provided by FirstRanker.com ---
virtual function. - (a) Elaborate the runtime polymorphism.
(b) Write a C++ program to overload <<, >> for performing addition of two numbers. - (a) Write a C++ program to write integers in to file & open the same file, separate the odd numbers &
even numbers & display the same.--- Content provided by FirstRanker.com ---
(b) What is an exception? How an exception can be handled in C++? - Write a program containing a possible exception. Use a try block to throw it & a catch block to handle it properly.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTUA MCA 2nd Sem last 10 year 2010-2020 Previous Question Papers (JNTU Anantapur)