You are on page 1of 1

EntolmentNo.

bbluc sll2D SEMESTER, END TERM


EXAMINATION 2022
S(UCS04C 18)CSSE
B.Tech. 4
Oriented Programming
NAME OF SUBJECT: Object
CODE NO: - UESAHETE
Time: 2 Hrs
Full Marks: 50
Answer to all the questions

(5*2)=10
Group A:

Define data hiding with example


What are the benefits of inheritance?
What is abstract class? Explain with example
Define the concept of inline function with example.
Dilferentiate between Structure and Class in C++ with the help of suitableexample.

(4*5)=200
Group B:
with example
6. overloading and function overriding
Write the difference between function
virtual function with example.
1 Why do we need virtual function? Define pure
Differentiate between Runtime and compile time polymorphism.
8. in a C++ program with example.
Describe the importance of Scope Resolution Operator

(210)-20
Group C:
different no. of arguments.
demonstrate function overloading using
10 a Write a program to Class D is inherited
inherited from class A. Class C
is inherited from class A.
b. Class B is data member 'm' of
D. Each class is having a public
is inherited from class B, C,
from class A. Class E derived class (E) object. '
Write a program to print
the value of 'm' using
Integer iype.
classes have three ditferent
abc. pqr. xyz. Inside 3
we

Let we have three different class as


11. a.
friend function find
the sum of these three variable. derived
variable a,b.c. Using a
member function.
Override getdata) in
as
ffuit class as base and getdata()
Create a
b.
Write an appropriate program.
class apple.

You might also like