This download link is referred from the post: PTU B.Tech 3rd Semester Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University
Roll No.
Total No. of Pages : 02
--- Content provided by FirstRanker.com ---
Total No. of Questions : 18
B.Tech. (IT) (2018 Batch) (Sem.-3)
OBJECT ORIENTED PROGRAMMING
Subject Code : BTIT-302-18
M.Code: 76392
--- Content provided by FirstRanker.com ---
Time: 3 Hrs.
Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
- SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
- SECTION-B contains FIVE questions carrying FIVE marks each and students have to attempt any FOUR questions.
- SECTION-C contains THREE questions carrying TEN marks each and students have to attempt any TWO questions.
--- Content provided by FirstRanker.com ---
SECTION-A
Answer briefly :
- What is the use of constructors?
- How is (ios::app) mode different from (ios::ate mode)?
- What is function overloading?
- What is a virtual class?
- What is a friend functions?
- How is object different from a class?
- What is meant by initialization of a variable?
- What is polymorphism?
- What is advantage of scope resolution operator?
- Explain the difference between abstraction & data hiding.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
--- Content provided by FirstRanker.com ---
- Explain how memory is allocated to classes & objects?
- How are destructors invoked in derived classes?
- What is the overloading of function? How does a compiler execute an overloaded function?
- What are the various access mechanisms available for inheritance?
- Why is it necessary for constructors to know the order to declaration in base class?
--- Content provided by FirstRanker.com ---
SECTION-C
- What are the steps in the design of a program using object oriented techniques.
- What are the various File Opening modes? Explain various file pointer manipulators available in CPP. Mention various file error handling functions available in CPP.
- Write a program to copy the content of two data file to third file. Make use of the exception handling conditions also.
NOTE: Disclosure of Identity by writing Mobile No. or Making of passing request on any page of Answer Sheet will lead to UMC against the Student.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU B.Tech 3rd Semester Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University
--- Content provided by FirstRanker.com ---