0% found this document useful (0 votes)
11 views

OOP2023 OOP2024 Merged

The document contains an examination paper for Object Oriented Programming for S.E. (Electronics/E & TC Engineering) students, with a total of 4 questions. Candidates are instructed to attempt specific questions and are allowed to use calculators. The paper includes topics such as encapsulation, polymorphism, constructors, and memory management in C++.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

OOP2023 OOP2024 Merged

The document contains an examination paper for Object Oriented Programming for S.E. (Electronics/E & TC Engineering) students, with a total of 4 questions. Candidates are instructed to attempt specific questions and are allowed to use calculators. The paper includes topics such as encapsulation, polymorphism, constructors, and memory management in C++.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Total No. of Questions : 4] SEAT No.

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

ic -
ta t
[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.

t
sta
8.2

:06
.24

Q1) a) Differentiate between Pointer and Reference. [4]


91
:14
49

b) What are the properties of Object Oriented Programming? [6]


15
30

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

OR
/20
GP

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

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


8
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
Total No. of Questions : 4] SEAT No. :

8
23
PB20 [Total No. of Pages : 1

ic -
[6268]-214

ta t
S.E. (Electronics/E & TC Engineering) /

5s
(Electronics & Computer Engineering) (Insem)

3:5
OBJECT ORIENTED PROGRAMMING

02 91
4:0
(2019 Pattern) (Semester - IV) (204194)

0
41
Time : 1 Hour] 6/0 13 [Max. Marks : 30
Instructions to the candidates:
0
3/2
1) Answer Q.1 or Q.2, Q.3 or Q.4.
.23 GP

2) Neat diagrams must be drawn wherever necessary.


3) Figures to the right indicate full marks.
E
82

8
4) Assume suitable data, if necessary.
C

23
ic-
16

t
Q1) a) What do you mean by overloading of a function? Explain with an example.

sta
8.2

[5]

:55
.24

b) Discuss the significance of Input/Output operators in C++. [5]


91
:03
49

c) Explain how new and delete operators manage memory allocation/


14
30

deallocation dynamically? [5]


24

OR
01
/20

Q2) a) Explain the procedure oriented programming and Object oriented


GP
/03

programming. [5]
6

b) Explain the following terms [5]


CE
82

8
23
i) Inheritance and
.23

ic-
ii) Polymorphism
16

tat
c) Explain call by value and call by reference. [5]
8.2

5s
.24

3:5

Q3) a) Explain terms class and object also write the declaration syntax for
91
49

4:0

both. [5]
30
41

b) Explain the objects as function arguments in C++ with an example. [5]


01
02

c) What is destructor? Explain the copy constructor with example. [5]


3/2
GP

OR
6/0

Q4) a) What is Constructor? Explain types of constructors. [5]


CE
82

b) Explain member functions within a class in C++ with suitable example.[5]


.23

c) Explain concept of static data members, static member functions in C++.


[5]
16
8.2

  
.24
49

[6268]-214 1

You might also like