FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Get the Nursing Question Bank Android App

Access 10+ years of Question Papers with answers, notes for B.Sc Nursing on the go!

Install From Play Store

Download PTU B.Tech 2020 March CSE-IT 3rd Sem BTCS 305 Object Oriented Programming Using C++ Question Paper

Download PTU (I.K. Gujral Punjab Technical University Jalandhar (IKGPTU) ) BE/BTech CSE/IT (Computer Science And Engineering/ Information Technology) 2020 March 3rd Sem BTCS 305 Object Oriented Programming Using C++ Previous Question Paper

This post was last modified on 21 March 2020

PTU B.Tech Question Papers 2020 March (All Branches)


FirstRanker.com
Firstranker's choice
FirstRanker.com

--- Content provided by⁠ FirstRanker.com ---

Roll No. ‘ ‘ ‘ ‘ ’ ‘ ‘ ‘ ‘ ’ ‘ Total No. of Pages : 02
Total No. of Questions : 18
B.Tech. (CSE/ECE/IT) (2012 to 2017) (Sem.-3)
OBJECT ORIENTED PROGRAMMING USING C++
Subject Code : BTCS-305

--- Content provided by‌ FirstRanker.com ---

M.Code : 56595
Time : 3 Hrs. Max. Marks : 60
INSTRUCTION TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
2. SECTION-B contains FIVE questions carrying FIVE marks each and students have to attempt any FOUR questions.

--- Content provided by FirstRanker.com ---

3. SECTION-C contains THREE questions carrying TEN marks each and students have to attempt any TWO questions.
SECTION-A
Answer briefly :
1) What is data abstraction?
2) What do you mean by dynamic initialization of objects?

--- Content provided by​ FirstRanker.com ---

3) List down at least 3 differences between Static and Dynamic Memory Allocation.
4) “Inheritance supports the concept of reusability”. Comment.
5) What is a friend function-and friend class?
6) Explain control structures.
7) What is a reference variable? What is its major use?

--- Content provided by⁠ FirstRanker.com ---

8) Define Constructor and Destructor.
9) How is polymorphism achieved at compile time and runtime?
10) Differentiate between static and dynamic binding.
1| M-56595 (52)-1096
FirstRanker.com

--- Content provided by FirstRanker.com ---

FirstRanker.com
Firstranker's choice
11)
12)
13)

--- Content provided by FirstRanker.com ---

14)
15)
16)
17)
18)

--- Content provided by​ FirstRanker.com ---

FirstRanker.com
SECTION-B
What is the use of default & copy constructors? Is a constructor mandatory for a Class? Explain by giving examples in each case.
Explain how base class member functions can be invoked in a derived class if the derived class also has a member function with the same name.
What is a virtual function? Explain its usage with example.

--- Content provided by‍ FirstRanker.com ---

Explain what is overloaded operator & how does a compiler proceed to execute an overloaded operator.
Write a program to exchange values between two classes using the concept of friend functions.
SECTION-C
Write a class to represent a vector (a series of float values). Include member functions to perform the following tasks :
a) To create the vector

--- Content provided by‍ FirstRanker.com ---

b) To modify the value of a given element
c) To multiply by a scalar value
d) To display the vector in the form (10, 20, 30,...)
e) Write a program to test your class
Write a program to overload the plus operator to add two complex numbers.

--- Content provided by‍ FirstRanker.com ---

What is the use of class templates? Explain the different ways to instantiate a template functions.
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.
2 | M-56595 (52)-1096
FirstRanker.com

--- Content provided by​ FirstRanker.com ---


This download link is referred from the post: PTU B.Tech Question Papers 2020 March (All Branches)