Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Total No. of Questions : 4] SEAT No.

8
23
PA-10324 [Total No. of Pages : 1

ic-
tat
[6008]-209

6s
S.E. (Electronics / E & TC / Electronics & Computer) (Insem.)

4:0
02 91
OBJECT ORIENTED PROGRAMMING

5:1
0
(2019 Pattern) (Semester - II) (204194)

31
8/0 13
Time : 1 Hour] [Max. Marks : 30
0
4/2
.23 GP

Instructions to the candidates :


1) Attempt Q.1 or Q.2, Q.3 or Q.4.
E

2) Neat diagrams must be drawn wherever necessary.


80

8
C

23
3) Figures to the right side indicate full marks.

ic-
4) Use of calculator is allowed.
16

5) Assume suitable data, if necessary.

tat
8.2

6s
.24

4:0
Q1) a) Differentiate between Pointer and Reference. [4]
91
49

5:1
b) What are the properties of Object Oriented Programming? [6]
30
31

c) Justify How inline function is better than Macros with suitable example.[5]
01
02

OR
4/2
GP

Q2) a) Justify with the example How to achieve Encapsulation in C++. [5]
8/0

b) Discuss the significance of Input/Output operators in C++ and their


CE
80

8
equivalence with 'C'. [4]

23
.23

c) Write a program to achieve compile time polymorphism. [6]


ic-
16

tat
8.2

6s

Q3) a) Explain concept of static data members, static member functions in C++.[6]
.24

4:0

b) Write a program in C++ to avoid dangling Pointer Situation. [4]


91
49

5:1

c) Explain role of destructor in C++. Write syntax for String Class destructor.
30
31

[5]
01
02

OR
4/2
GP

Q4) a) Explain terms class and object also write the declaration syntax for both.[5]
8/0

b) Justify how to achieve is a kind of hierarchy and has a kind of hierarchy.[4]


CE
80

c) Explain the Concept of object creation and destruction in C++. [6]


.23
16


8.2
.24
49

You might also like