This download link is referred from the post: PTU MCA Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University
Roll No.
Total No. of Pages : 02
Total No. of Questions : 09
--- Content provided by FirstRanker.com ---
MCA (2014 Batch) (Sem.-1)
OBJECT ORIENTED PROGRAMMING IN C++
Subject Code : MCA-102
M.Code: 26043
Time: 3 Hrs. Max. Marks : 100
--- Content provided by FirstRanker.com ---
INSTRUCTION TO CANDIDATES :
- SECTIONS-A, B, C & D contains TWO questions each carrying TWENTY marks each and students have to attempt any ONE question from each SECTION.
- SECTION-E is COMPULSORY consisting of TEN questions carrying TWENTY marks in all.
SECTION-A
- Compare functional and OOP approaches in detail and explain the salient concepts of OOP.
- What are the various data types available in C++? Explain giving suitable examples.
--- Content provided by FirstRanker.com ---
SECTION-B
- Define Recursion. How does recursion work in C++? Write a recursive program in C++ to find the factorial of a number.
- What are the various storage classes available in C++? Explain with the help of examples.
SECTION-C
--- Content provided by FirstRanker.com ---
- Explain the role of constructors and destructors in C++. Distinguish between default and copy constructor and explain whether constructors and destructors can be overloaded or not.
- Define Inheritance. What are the various types of inheritances? Discuss each giving suitable examples.
SECTION-D
- Define functions overloading. What are the complicacies involved in use of default parameters in overloaded functions? Explain.
- Discuss in detail exception handling in C++.
--- Content provided by FirstRanker.com ---
SECTION-E
- Write briefly :
- What is the difference between class and object?
- What do you mean by operator precedence?
- What is the difference between function overloading and overriding functions?
- What are container classes?
- What is the difference between structure and union?
- What are friend functions?
- What do you mean by dynamic memory allocation?
- What is an abstract base class?
- What do you mean by Polymorphism?
- How is a File declared in C++?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
NOTE : Disclosure of identity by writing mobile number or making passing request on any page of Answer sheet will lead to UMC against the Student.
For more information visit: FirstRanker.com
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU MCA Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University