Download PTU B.Tech 2020 March EEE 6th Sem 71139 Object Oriented Programming Question Paper

Download PTU (I.K. Gujral Punjab Technical University Jalandhar (IKGPTU) ) BE/BTech EEE (Electrical And Electronics Engineering) 2020 March 6th Sem 71139 Object Oriented Programming Previous Question Paper

1 | M-71139 (S2)-2103
Roll No. Total No. of Pages : 02
Total No. of Questions : 09
B.Tech.(Electronics & Electrical Engg.) (2012 to 2017 EL-I) (Sem.?6)
OBJECT ORIENTED PROGRAMMING
Subject Code : BTEEE-603C
M.Code : 71139
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.
3. SECTION-C contains THREE questions carrying TEN marks each and students
have to attempt any TWO questions.

SECTION-A
1. Answer briefly :
a) Define Object.
b) Define Function Overloading.
c) What do you mean by data abstraction?
d) Explain copy constructor with an example.
e) Define Virtual Function
f) Define Destructor.
g) Write down operator precedence for C++ operator.
h) What do you mean by generic function?
i) Write down difference between private and public.
j) Define Stream.
FirstRanker.com - FirstRanker's Choice
1 | M-71139 (S2)-2103
Roll No. Total No. of Pages : 02
Total No. of Questions : 09
B.Tech.(Electronics & Electrical Engg.) (2012 to 2017 EL-I) (Sem.?6)
OBJECT ORIENTED PROGRAMMING
Subject Code : BTEEE-603C
M.Code : 71139
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.
3. SECTION-C contains THREE questions carrying TEN marks each and students
have to attempt any TWO questions.

SECTION-A
1. Answer briefly :
a) Define Object.
b) Define Function Overloading.
c) What do you mean by data abstraction?
d) Explain copy constructor with an example.
e) Define Virtual Function
f) Define Destructor.
g) Write down operator precedence for C++ operator.
h) What do you mean by generic function?
i) Write down difference between private and public.
j) Define Stream.
2 | M-71139 (S2)-2103
SECTION-B
2. Write a program to compute square of an int and float number using overloaded function.
3. Write a short note on use of scope resolution operator in inheritance.
4. Write a program in C++ to swap to number using call by reference.
5. Write a C++ program that overload the operator +, * and ? to perform matrix addition,
multiplication and division.
6. How virtual functions are used in C++? Explain with any program.

SECTION-C
7. State the important features of object oriented programming. Compare object oriented
programming with procedure oriented programming.
8. How generic functions are overloaded in C++? Write a C++ program to arrange set of
integer and floating point values in ascending order by using a function template.
9. Write a program to use the default constructor and copy constructor for a bookshop
application.







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.
FirstRanker.com - FirstRanker's Choice

This post was last modified on 21 March 2020