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.
2. Attempt
any four questions from Section –B
Section – A
1.
a. What
is function?
b. What
do you mean by an object?
c. What
is array of structure?
d. Define
encapsulation?
e. What
is the use of continue statement?
f. What
is the use of friend class?
g. What
is the difference between double and long double data type ?
h. What
is role of protected data members?
i. What
is over loading?
j. What
is the purpose of buffer in file
handling?
Section –B
2. Explain
the difference between structure and union.
3. What
is the difference between inline and friend function?
Explain with a program of
each.
4. What
is the difference between constructor and destructor?
Explain the various types
of constructors.
5. Write
a program in C++ to find the sum of digits of given
number.
6. Explain
the various types of inheritance with an example of each.
7. What
is file handling? Write the procedure to create a file and to
perform
read/write operation.
0 comments:
Post a Comment
North India Campus