IMPORTANT QUESTIONS
OOP USING C++
UNIT-1
Q-1 What do you mean by Object oriented Programming? Discuss the characteristics of Object
oriented Programming in detail. Also differentiate between Procedural Programming and
Object Oriented Programming.
Q-2 What is C++ programming language? Explain its syntax, variables and operators in detail.
Q-3 Explain:
a) Recursion. How it is useful and used.
b) Polymorphism and its types along with the advantages.
c) Arrays, Structure, union and their merits and demerits.
Q-4 Explain:
a) Function in C++. How it is useful and used.
b) Encapsulation in C++
c) Data types in C++
UNIT-2
Q-1 Explain:
a) What are constructors and destructors in C++? What are advantages of using
constructors? Explain in detail.
b) What do you mean by Classes? Explain Public and private Class with suitable examples.
Q-2 Explain:
a) Member Function
b) Assignment Operator
c) Copy Constructor
d) Static Members
Q-3 Explain:
a) Define references. How these are useful and used? Explain with examples.
b) Destructors, its types and uses with examples.
c) Memory management in C++
UNIT-3
Q-1 Describe:
a) What is virtual function? How it is used in C++? Explain its advantages with C++
examples.
b) Discuss the effect of inheritance on visibility of member function in public, private and
protected derivation in detail.
Q-2 Explain the following with examples:
a) Ambiguity in Multiple inheritance
b) Overriding with its uses and advantages
Q-3 Explain:
a) Static function and its uses and advantage
b) Inheritence and its types and advantages with example
Q-4 Explain:
a) Abstract Class
b) Friend Function
UNIT-4
Q-1 Explain:
a) What are exceptions? How is exception handled in C++? What is the need of exception
handling?
b) What do you mean by unexpected exceptions? How they are handled?
Q-2 What do you mean by template and standard template library? Why are they needed?
Explain the different types of template in detail with examples.
Q-3 Explain:
a) String and its uses
b) Resource Capture and Release