nm es Tesi la
BCA DEGREE EXAMINATION, NOVEMBER 2019
Second Semester
|UCA1S202 — OBJECT ORIENTED PROGRAMMING USING
cH
(ort cones adie dering te cae: eo 29157016 2017-2018)
‘Time: Three hours Max. Marks: 100,
Answer ALL Questions
PART—A (10220 Marks)
1, Define: Object oriented programming.
2, What is an object?
3. What are the differences between structures and classes in
cH?
4, Which operator is used to allocate memory space for any
object?
‘What is funetion prototype?
Define Destructor.
‘What is inheritance?
"Nam the opeeators that cannot be overloaded in C++.
‘What is input stream?
\Weite the purpose of width () function,
eto sivaaveatsn
Ho,
15.8,
mata
PART—B (5 16= 80 Marks)
Explain the basic concepts of object-oriented
programming with suitable example.
(oR)
Explain the stucture of C++ program with an example.
‘What ae the benefits of OOP?
Discuss with suitable example of the various operators in
cH.
(oR)
Describe the various looping statements in C++ with
example,
Explain the concepts of function overloading with
example,
(oR)
What is constructor? Explain different types of
constructors.
Explain the concepts of virtual functions with suitable
examples,
(oR)
Explain different types of inheritance with example.
Explain about C+ stream classes
(OR)
Explain the exception handling mechanism with suitable
‘example.