Paper OOP Insem
Paper OOP Insem
:
Questions:
Total No. of 2
Pages:
SE/In-semester April -2022
S.E. (E&TC) (Semester - II)
Object Oriented Programming
(2019 Pattern)
Time:1hour]
[Max.Marks:30
Instructions to the candidates:
1) AnswerQ.1orQ.2,Q.3orQ.4
2) Figures to the right side indicates full mark
3) Draw neat diagram wherever necessary.
4) Assume suitable data, if necessary.
Q1) a) Explain the basic concepts and features of OOP. [5] [CO1]
b) Write a c++ program to print factorial of a number. [5] [CO1]
c) What is inline function? Explain with example. [5] [CO1]
OR
Q2) a) Explain the following C++ terms: [5] [CO1]
(i) Abstraction and polymorphism
(ii) Scope resolution operator.
b) Explain function overloading with example. [5] [CO1]
c) Discuss the significance of Input/output operators in C++ and their [5] [CO1]
equivalence with C.
Q3) a) What are access specifiers? What is the use of private data members? [5] [CO1]
b) What is member functions and data member? Explain with example. [5] CO2
c) Write a C++ program to illustrate concept of parameterized [5] [CO1]
constructor.
1
OR
Q4) a) What is the use of constructor. State four types of constructor. [5] [CO1]
Write a program in C++ for any one type.
b) Define the following terms in OOP : [5] [CO1]
(i) Class
(ii) Object
c) What is arrays of objects? [5] [CO1]