Professional Documents
Culture Documents
INSTRUCTION TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks
m
14111 14111
each. 14111 14111 14111 14111 14111 14111 14111
2. SECTION-B contains FIVE questions carrying FIVE marks each and students
have to attempt any FOUR questions.
o
.r c
3. SECTION-C contains T HREE questions carrying T EN marks each and students
14111 14111
have to14111
attempt any 14111 14111
T WO questions. 14111 14111 14111 14111
pe
14111
SECTION–A
14111 14111
o m
14111 14111 14111
1. Write briefly :
p a .r c
r
a. What is data abstraction?
e
14111 14111 14111 14111 14111 14111 14111 14111 14111
14111 14111
d. Explain control structures.
14111 14111
b
14111 rp 14111
e. What is a reference variable? What is its major use?
14111 14111 14111
14111 14111
h. What is input stream?
14111 14111 14111 14111 14111 14111 14111
14111 1 | M-56511
14111 14111 14111 14111 14111 14111 (S2)-762
14111 14111
SECTION-B
14111 14111 14111 14111 14111 14111 14111 14111 14111
14111 3.
14111 What do you mean by14111
14111 overloading of a function? When
14111 14111 do we use this concept?14111
14111 14111
14111 5.
14111 What does
14111 inheritance mean in C++?
14111 In what order14111
14111 are the class constructors
14111 called
14111 when 14111
m
14111 14111 14111 14111 14111 14111 14111 14111 14111
o
.r c
SECTION-C
14111 14111 14111 14111 14111 14111 14111 14111 14111
14111
7.
14111
a. Distinguish between compile time and run time polymorphism.
14111
b. What
pe
14111
is a virtual function? Why 14111 14111
do we need virtual
o m
functions?14111 14111 14111
8.
a .r c
Write a class template to represent a generic vector. Include member functions to perform
the following
ptasks : 14111
r e
14111 14111 14111 14111 14111 14111 14111 14111
14111 14111
b
a. To create the vector
b. To 14111
modify the value of a given element
14111 14111
a p
14111 14111 14111 14111
14111 14111
c. To multiply by a scalar value
14111 14111
b
14111 rp 14111
d. To display the vector in the form (10, 20, 30 ………)
14111 14111 14111
14111 2 | M-56511
14111 14111 14111 14111 14111 14111 (S2)-762
14111 14111