This download link is referred from the post: PTU B.Tech 6th Semester Last 10 Years 2009-2019 Previous Question Papers|| Punjab Technical University
FirstRanker's choice FirstRanker.com
Roll No.
Total No. of Pages : 02
--- Content provided by FirstRanker.com ---
Total No. of Questions : 09
B.Tech.(Electronics & Electrical) (2011 Onwards EL-I) (Sem.-6)
OBJECT ORIENTED PROGRAMMING
Subject Code : BTEEE-603C
M.Code : 71139
--- Content provided by FirstRanker.com ---
Time : 3 Hrs.
Max. Marks : 60
INSTRUCTION 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 are the different data types in C?
- List five reserved words in C.
- What is data encapsulation?
- How does a main() function in C++ differ from main() in C?
- Describe the importance of destructors.
- What is dynamic initialization of objects?
- What is an abstract class?
- When do we make a class virtual?
- Why it is necessary to include the file iostream in all our programs?
- What is a generic function?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
FirstRanker's choice FirstRanker.com
--- Content provided by FirstRanker.com ---
SECTION-B
- Write a C++ program to read a file name and display the content of file on screen.
- How is object oriented programming different from procedure oriented programming?
- What is a class? How does it accomplish data hiding?
- Explain Generic Function with an example.
- Discuss error handling during file operation.
--- Content provided by FirstRanker.com ---
SECTION-C
- Describe the syntax of single inheritance and multiple inheritances in C++.
- Explain default constructor with a C++ example program.
- What is runtime polymorphism? How virtual functions can be used to implement the runtime polymorphism? Explain with an example
--- Content provided by FirstRanker.com ---
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.
This download link is referred from the post: PTU B.Tech 6th Semester Last 10 Years 2009-2019 Previous Question Papers|| Punjab Technical University
--- Content provided by FirstRanker.com ---