You are on page 1of 2

LOYOLA INSTITUTE OF TECHNOLOGY

DEPARTMENT OF INFORMATION TECHNOLOGY


EC6301 - OBJECT ORIENTED PROGRAMMING AND DATA STRUCTURES
QUESTION BANK
Unit I
Part - A
1. Define classes and objects.
2. What is data encapsulation? Give example.
3. Mention the operators that cannot be overloaded.
4. What is constructor?
5. What is a default constructor?
6. How is a class declared in C++?
7. What do you mean by friend function?
8. What is an operator overloading?
9. List out the application of oops?
10. What is function overloading?
11. Define Proxy Classes.
12. Highlight the advantages of static data members and static functions in C++.
13. What do you mean by container classes?
14. List out the benefits of oops.
15. What are the difference between procedure oriented programming and object oriented
programming.
16. List the various concepts of oops.
17. How do the constructors gets invoked?
18. What is Destructors?
19. What is the use of scope resolution operator?
20. When do we declare a member of a class static?
Part - B
1.
2.
3.
4.

Illustrate the working of constructors and destructors with an example.


Explain the control structures of C++ with suitable examples.
Illustrate the use of copy constructors and function overloading with C++ programming.
Specify a class called complex to represent complex numbers. Overload +, - and * operators

when working on the object of this class.


5. Define friend function specify its importance. Explain with suitable example.
6. What is parameterized constructor? Explain with example.
7. What is operator overloading? Overload the numerical operators + and / for complex numbers
addition and division respectively.
8. Write short notes on container classes and proxy classes.
9. Write short notes on Dynamic Memory Allocation and Static Class Members.
10. Briefly explain about oops concepts.
Unit II
Part - A
1. What is inheritance?

2. What do you mean by overriding?


3. Difference between static binding and dynamic binding.
4. Define pure virtual function and mention its usage.
5. What do you mean by This Pointer?
6. Define abstract base classes.
7. What is a concrete class?
8. What are virtual destructors?
9. What do you mean by dynamic binding?
10. What is the use of virtual function in C++?
11. What effects do the visibility labels private, protected and public have on the members of the
class.
12. Difference between abstract class and concrete class
13. What is the default access specifier of a class?
14. What are hybrid inheritances?
15. Differentiate overloading and overriding.
16. What is polymorphism?
17. What are the difference is between compile time and run time polymorphism?
18. What are multilevel and multiple inheritances?
19. What is the need to declare base class as virtual?
20. What are hierarchical inheritances?
Part - B
1. Explain in detail about virtual function and polymorphism with example.
2. Briefly explain this pointer with example program.
3. Explain the concept of virtual destructors.
4. What is inheritance? Explain with examples the different types of inheritance in C++
5. Write about casting class pointers and member function.
6. Write short notes on constructors and destructors in derived classes.
7. Briefly explain about abstract base classes and concrete classes.
8. Explain protected data with private and public inheritance.
9. Explain the concept of overriding. How it differs from overloading?
10. Write short notes on dynamic binding and protected members.

You might also like