Roll No...............
Total No. of Questions:
09
BCA
(Sem.-2nd)
OOPS
using C++
Subject
Code: BSBC-203
Paper
ID: [B1115]
Time: 3 Hrs.
INSTRUCTIONS TO
CANDIDATE:
1.
Section-A is compulsory consisting of ten questions carrying two marks each.
2.
Section-B contains six questions carrying ten marks each and a student has to attempt
any four questions.
SECTION–A
l. Answer briefly :
(a) What is data member and member function?
(b) List various
characteristics of constructor and
destructor.
(c) What is
Encapsulation? What are its advantages?
(d) What
is Nested Structure? Discuss
its need.
(e) What is Operator Overloading? What are its different
types?
(f) What is use of scope resolution operator?
(g) How class is
different from structure?
(h) What is Nested
Class? Explain with an example.
(i) What is
early and late binding?
(j) What is Static Function? What are its advantages?
SECTION-B
2.
What is
object oriented programming?
Discuss its advantage
and disadvantages over structured programming.
3. Explain the following :
(a) Array of
structures
(b) Inline
functions
4.
What is Polymorphism? What is its need? Write C++ program to implement the
concept of polymorphism.
5.
What is Function? What are its advantages? Explain how function overloading is
implemented in C++.
6. What is Inheritance? What are its
different types? Explain with
examples.
7. Write short notes on the following :
(a) Copy
Constructor
(b) Streams in C++
0 comments:
Post a Comment
North India Campus