G H Raisoni College of Engineering and Management, Pune
Department of Information Technology
Subject wise Common Question Bank (QB) for All Divisions
Class: SY A, B, C
Subject Name/Code: OBJECT ORIENTED PROGRAMMING
Subject Teacher Name(s): 1.Ms.Samrudhi Bhadane
2. Ms.Archana Dongardive
Note: Only 60% Questions can be asked from this QB in CAE. Rest of 40% questions will be from out
of this QB related to syllabus
Unit-III
Q. No. Question Statement
1. What is Inheritance? List the different types of Inheritance.
2. What are the rules for access specifiers in the Inheritance.
3. Explain multiple Inheritance in detail with syntax and example.
4. Write a C++ program for displaying CAE 1 result with the help of multilevel Inheritance.
(For result take the average of your 6 subjects).
5. Write a C++ program to accept employee information from user with data members such
as employee name, employee code and salary of employee. Display the information using
multiple Inheritance.
6. Illustrate the use of pointer to object with example.
7. What is ‘this’ pointer? Write a C++ program for finding the elder person name among three
persons using this pointer.
8. What is polymorphism? Explain Different types of polymorphism?
9. What is the role of early binding and late binding in polymorphism? Justify your answer
with explanations.
10. Explain Hierarchical Inheritance in detail with defination and example.
Unit-IV
1. Write a difference between compile time memory allocation and runtime memory
allocation.
2. With the help of syntax describe the new and delete operator.
3. Write features of Dynamic memory allocation.
4. Explain static member functions in C++ with syntax and example.
5. Create simple C++ program to access static data members to show the car information
such as Id, Name, Rating for a car.
6. Illustrate the concept of copy constructor using example.
7. Define constant member functions and mutables with the help of example.
8. Create two classes DM And DB where DM has data members as meter and centimeters
whereas DB stores distances in feet and inches. Carry out addition operations using friend
function.
9. Write features of static memory allocation.
10. Create a simple code for accessing static data member functions with the help of class
name and class object.