Object Oriented: CS/ Bca/ Sem-4 - B'Ca-4O? I 20 13 20L3 Programming With C++
Object Oriented: CS/ Bca/ Sem-4 - B'Ca-4O? I 20 13 20L3 Programming With C++
Object Oriented: CS/ Bca/ Sem-4 - B'Ca-4O? I 20 13 20L3 Programming With C++
RollNo. : ....
: . . .. (. Signature' Inuigilator's
I 2013 cs/ BcA/ sEM-4 | B'CA-4O? 20L3 OBJECT ORIENTED PROGRAMMING WITH C++
TimeAllotted: 3 Hours ' FUUMarlcs :7O
Thefigures in the margin indicatefull marks. Candidatesare requiredto giue their answers in their own words as far as practicable.
GROT'P - A
'. operator.
ii)
iii)
ir')
b) d)
4132
I Turn over
Template is used for a) b) c) Memory space Programming language Variable value Variable address.
, vii)
d)
Constructor can return value a) c) Not always true Never true b) d) Ahvavs true None of these.
viii) When a function call itself is called a) c) ix) Inline function Recursive lunction Statical Virtual b) d) Virtual function None of these.
To make any value constant in C+* \\'e use a) c) b) d) Const all of these.
x)
Which one of the following is an access specifier ? a) c) Private Static b) d) Virtual None of thses.
xi)
4L32
W-
& rc make a virtual function "public" ? What are the of making a function pure virtual function ? the drfference between classes and structures in
;rtrn-;mq
3.
R'i3 Cr+-
ct
4.
IE' trrcr
L pornter arithmetic ? How is it performed ? Support uith an example. erplain constructor and destructor with suitable
5.
Igcq
Ffi-s-
Ub
is manipulator
GROUP - C ( Long Answer Type Questions I Answer any three of the following.
7. aJ
bq
3 x 15 = 45
Cr
Explarn Function overloading with simple examples. \\-hat do you mean by new and delete operators ?
3 2
d,,
.+la,)
I T\rrn over
3
c) d) Explain the role of file iostream.h in C+*. Explain the
3
'4
incremental operator.
9.
a) b)
c)
What is File handling in C++ ? What is Stream Class ? Describe the stream class levels in C++ with the diagram. What is the difference between private and public ' member variables ? 3' 2+3+2+5
d) 10. a)
what are the differences of c and c+* ? \\'hat is class in C++ ? What do you mean by data hiding and data abstraction 4 + 2+2+7 and howisitimplementedin g++ ? 3x5
b)
1 1. Write a short note on any three of the follou:ng : a) b) c) d) e) Template Class Abstract Class Operator Overloading Sequential and Random Access file. Overloading of [] oPerator.