Sei sulla pagina 1di 1

USN

Time:3
la.
b.
c.
2a.
b.
3a.
b.
c.
4a.
b.
c.
5a.
b.
c.
l"''''"'l'll"'
Max. Marks,;100
10cs36
(06 Marks)
(06 Marks)
(08 Marks)
(06 Marks)
(06 Marks)
(10 Marks)
(05 Marks)
(05 Marks)
"(06
Marks)
(08 Marks)
(06 Marks)
(06 Marks)
(08 Marks)
(06 Marks)
(08 Marks)
(06 Marks)
(06 Marks)
Third Semester B.E. Degree Examination, Dec.2013 lJan.2Dl4
:.:::.
.
hrs.
d
o
o
o"
o
o
ox
J.
dv
=rl
-*l
coo
.=N
gd
oJtr
-C(l)
*.a
aX
o()
6O
boi
.G
-?o
'Ca
OE
^X
osw
oj
6=
<o
atE
C.F
(sE
!O
>'q
bo-
o=
o. ;j
tr>
=o
9-
\J<
-
c'i
()
o
Z
o
a
c.
Explain three access specifiers.
Why friend function is required? Write a program to add two complex number using friend
function. (08 Marks)
Explain generic function with an example. (06 Marks)
(06 Marks) Write a program to overload * * operator.
Mention types of inheritanCa. Explain multiple and multilevel inheritance with example.
PART
_
B
Explain'fu order of innovocation of constructor and destructor with an example.
Exp-lain with an example virtual base class.
"E
plain passing parameter to base class.
,Krt
ar
6
.a-.
'Difference
between early binding and late binding.
,
b. What is virtual functioni Explain with an example.
:
c. Explain the abstract class with an ex-ample.
7 a. What are the flags that associated with the file operation?
b. Explain the following functions:
i) setfill(
)
ii) width(
)
iii) precision(
)
iv) setiosflags(
)
c. Mention the name of file movement pointer. Explain each.
8 a. Explain C+* exception handling function with example.
b. What is vector? Explain function of a vector.
c. Write a program to create a list and sorting the elements of the list.
Object Oriented Programming with G++
Note: Answer FIVE
full
questions, selecting
at least TWO
iuestions from
each parl .
PART
_
A tnl\t
-n
Exptfu various features of object oriented programming. (08 Marks)
What is,'inline function? Explain with an example. Mention its advantages. (06 Marks)
What is function overloading? Write a program to swap two inleger and two float number
using function overloading. (06 Marks)
What is class? Write a program to create a class called employee which consists name. desg.
ecode and salary as a data member and read, write as a function member, using this class to
read and print 10 employee information. (08 Marks)
What is constructor? Mention its types. Explain paiameterized constructor with an example.
cfre#?sieL
LcEFt.d&r{y
For More Question Papers Visit - www.pediawikiblog.com
For More Question Papers Visit - www.pediawikiblog.com
w
w
w
.
p
e
d
i
a
w
i
k
i
b
l
o
g
.
c
o
m

Potrebbero piacerti anche