rtmnuonline.
com
TK/KW/15 – 5963
Second Semester Bachelor of Computer
Application (B. C. A.) Examination
Paper – I
PROGRAMMING IN C++
om
Time : Three Hours ] [ Max. Marks : 50
e.c
lin
N.B. : (1) All questions are compulsory and carry equal
on
marks.
nu
(2) Draw neat diagram wherever necessary.
m
.rt
w
EITHER
w
w
1. (a) Explain the different characteristics of OOP.
5
(b) What is static data member and static member
function ? Explain any two characteristics of a static
data member. 5
om
e.c
OR
lin
(c) How private, public and protected works with class ?
on
nu
Explain with example. 5
m
(d) Write the syntax for Inline function. Explain Inline
.rt
w
function with suitable example. 5
w
w
EITHER
2. (a) Define operator overloading. List the rules for
operator overloading. List operators that can not be
overloaded. 5
TK/KW/15–5963 Contd.
www.rtmnuonline.com
rtmnuonline.com
(b) What is constructor ? Discuss with example
parameterized constructor. 5
OR
(c) What is copy constructor ? Demonstrate it with
suitable example. 5
(d) What is constructor with default argument ? Explain
om
it with suitable example. 5
e.c
lin
on
EITHER
nu
3. (a) Explain pointer to objects. Write a program to
m
.rt
illustrate it. 5
w
w
(b) What is inheritance ? Discuss multilevel Inheri-tance
w
with example. 5
OR
(c) What is visibility mode ? What are the different
inheritance visibility mode ? 5
om
e.c
(d) Explain "this" pointer. Write a program to
lin
demonstrate the use of ‘this’pointer. 5
on
nu
EITHER
m
.rt
4. (a) What is virtual function ? Write a program to
w
w
demonstrate use of virtual function. 5
w
(b) What are various error handling functions supported
by C++ ? 5
OR
(c) What is Exception Handling ? Explain handling
uncaught exception. 5
TK/KW/15 –5963 2 Contd.
www.rtmnuonline.com
rtmnuonline.com
(d) What are the rules for creating virtual func-
tions ? Gives the need for pure virtual function.
5
5. Solve Any ten :—
(a) What is data member in Class ?
om
(b) What is access specifier ?
e.c
lin
(c) What is member function ?
on
(d) What is destructors ?
nu
m
(e) What do you mean by Unary operator over-
.rt
loading ?
w
w
(f) Define destructor. w
(g) What is Abstract class ?
(h) Write a syntax to define Array of object.
(i) What is Hierarchical Inheritance ?
om
(j) What is fault tolerant, design ?
e.c
(k) List the different exception.
lin
on
(l) Write syntax for pure virtual function. 1 x 10
nu
m
.rt
w
w
w
TK/KW/15 –5963 3 530
www.rtmnuonline.com