Roll No.
Total No. of Questions : 07
BCA
(Sem.–3rd)
OBJECT
ORIENTED PROGRAMMIGN USING C++
Subject
Code : BC-304
Paper
ID : [B0212]
Time : 3 Hrs.
INSTRUCTION TO CANDIDATES :
1.
Section-A is compulsory.
2.
Attempt any Four questions form Section-B.
SECTION-A
Q.
1.
(a)
Can we overload destructor in C+? Why or why not.
(b)
Differentiate between + and +.
(c)
What is Early Binding?
(d)
What do you understand by Pas By Reference?
(e)
What are Local and Global variables?
(f)
What is Dynamic Memory Allocation?
(g)
Write down the syntax to create a class and object.
(h)
What is Base and Derived Class?
(i)
What do you understand by Streams?
(j)
What in Buffer?
Section-B
Q.
2. (a) Why it is necessary to include header files at the beginning of the
program? What role they play?
(b)
Differentiate between a structure and a class.
Q.
3. (a) What are visibility modes in C+?
(b)
Differentiate between C and C+.
Q.
4. How can you overload Unary operators? Discus 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.
Q.
7. Write a note on
(a) Virtual Functions (b) Copy Constructor
0 comments:
Post a Comment
North India Campus