Professional Documents
Culture Documents
of Pages: 02
Total No. of Questions: 07
B. C. A. (Sem.-3rd)
OBJECT ORIENTED PROGRAMMING USING C++
Subject Code: BC-304
Paper ID: [B0212]
Time: 3 Hrs. Max. Marks: 60
INSTRUCTIONS TO CANDIDATE:
1. Section-A is compulsory.
2. Attempt any four questions from Section-B.
o
SECTION-A m
.r c (10x2=20)
Q. 1.
(a)
p e
Can we overload destructor in C++? Why or why not.
(b)
p a
Differentiate between + and ++.
(c)
r
What is Early Binding?
b o m
(d)
(e)
w .
What do you understand by Pass By Reference?
w
Section-B
w
Q. 2.
w (4x10=40)
(a) Why it is necessary to include header files at the beginning of the program? What role
they play?
Q. 4. How can you overload Unary operators? Discuss with C++ program.
Q. 5. Define a constructor. What purpose does it serve? How will you declare a constructor?
Explain with example.
Q. 6. What is Inheritance? What are its different types? Also write C++ program to implement
multilevel inheritance.
o m
.r c
.....END.....
p e
p a
b r o m
w . .r c
w p e
w a
r p
.b
w w
w
Page: 2
M-10017