Bca 304
Bca 304
Instruction to Candidates:
1) Section - A is compulsory.
2) Attempt any Nine questions from Section - B.
Section - A
Q1) (15 x 2 = 30)
a) Enumerate the rules of identifiers.
e) How are the elements of one dimensional array stored and accessed?
g) What is polymorphism?
k) Why is that all functions of ostream class can operate on fstream class?
P.T.O.
m) Name the header file of C ++ to which following built-in function belong
to :
(i) gets ( ) (ii) getxy ( )
Section - B
(9 x 5 = 45)
Q2) Write a program to find whether the number entered by the user is a palindrome
or not.
Q6) Explain with the help of example operator overloading for unary operator
(for non friend function).
Q7) Explain the usage of public, private and protected access modifiers for
members in inheritance.
Q8) Write a program to add multiply complex numbers (Make use of constructor
overloading and destructors).
Q10) Write a short note on opening a file with open ( ) member function.
Q12) What are input and output streams? Explain various streams available in C ++.
Q
J-3168[S-1024] 2