You are on page 1of 1

Question Bank

Unit -3
1. A class may automatically include data and functions of an existing class. Explain the
effects of Inheritance with example.
2. Discuss the importance of copy constructor.
3. Write C++ program to show multiple inheritance with respect to constructor and
destructors.
4. Explain with an example parameterized constructor.
5. Illustrate multiple base class with example.
6. What is Function overriding? Explain with example.
7. What is virtual function? When it is needed? Explain with example.
8. What is pure virtual function? Explain with example.

Unit -4
1. What are function templates? How they are created?
2. What is Exception? Discuss the need for Exception handling.
3. Which are three keywords for Exception handling? Develop the C++ program to
implement them
4. Explain Exception handling with an example. (Note: The answer for 3 and 4 question
is same)
5. What happens if application does not catch the exception thrown by a library function?
Illustrate with example.
6. Explain template class with example

You might also like