This download link is referred from the post: PTU B.Tech Question Papers 2020 December (All Branches)
Total No. of Pages : 02
Total No. of Questions : 18
--- Content provided by FirstRanker.com ---
B.Tech. (CSE) (2018 Batch) (Sem.-3)
OBJECT ORIENTED PROGRAMMING
Subject Code : BTCS-302-18
M.Code : 76437
Time : 3 Hrs. Max. Marks : 60
--- Content provided by FirstRanker.com ---
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.
SECTION-A
--- Content provided by FirstRanker.com ---
Write briefly :
- Discuss the rules of Defining Constructors.
- Write the use of function overloading.
- Define this pointer.
- What is an Abstract class?
- Explain briefly what is Exception Handling?
- What are C++ streams?
- Define the term Multilevel Inheritance.
- What is a friend function and friend class?
- What are the different modes in which C++ file is opened?
- Explain how memory is allocated to classes & objects?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
- Explain with examples the different (Variable) storage classes used in C++.
- What are the advantages of using new operator as compared to the function malloc()? Explain with examples.
- What is object oriented programming? Explain any five characteristics of object oriented programming languages.
- Explain public, private and protected access specifiers and show the ambiguity in multiple and multipath inheritance.
- Explain the various techniques of defining pure virtual function.
--- Content provided by FirstRanker.com ---
SECTION-C
- Define Operator Overloading. Explain how to overload unary operator and binary operator.
- Describe the terms private inheritance and protected inheritance with the help of an example program.
- What is file mode? Describe the various file mode options available.
--- 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.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU B.Tech Question Papers 2020 December (All Branches)