OOSD WITH C++ Question Bank by Engineering Express
OOSD WITH C++ Question Bank by Engineering Express
UNIT-II
UNIT-III
UNIT-IV
a) Why Object-Oriented Programming (OOP) is so important for software industries or in real life?
Explain with example. Discuss the pros and cons of object-oriented technology with suitable
example.
b) Describe OOPS features with suitable example .
c) What is UML? List all building blocks of UML. Explain all types of things used in UML .
d) Explain virtual base class with the help of an example.
e) What do you understand by a static member function of a class? Discuss their characteristics Give
an example where you can justify the use of static member functions.
f) What is UML? Mention the different kinds of modeling diagrams used. Explain use case with
example.
g) What is Data Abstraction? How it is different from encapsulation? Explain with proper example.
UNIT-II
UNIT-IV
a) Differentiate overloading and overriding. Write a program to overload "+" operator using friend
function to concatenate two strings.
b) What is operator overloading? Differentiate between overloading of binary operator using friend
function and without using friend function.
c) Explain the following concepts in C++ by taking a suitable example:
(i) This pointer
(ii) Array of objects
d) What is friend function in C++? Write a program in C++ to implement friend function.
e) What is function ? explain about its type with suitable example.
f) What is an inline function? Why do we use inline functions in our program? Write aprogram in
C++ for inline function.
g) Write a Program call by value and call by reference.
h) Write a program swap two no’s with help of function.
i) Explain control structures. With any suitable example .
j) Explain about operators in C++. Explain also.
UNIT-V