Object Oriented Programming 2069
Section A
AI is thinking...
Attempt any two questions: (2x10=20)
AI is thinking...
1. Differentiate between structural programming approach and object oriented programming approach. Explain the inheritance, polymorphism with example.
AI is thinking...
2. How is a member function of a class defined? Define friend function. What are the merits and demerits of using friend function? Explain.
AI is thinking...
3. Define constructor, list some of the special properties of the constructor functions
AI is thinking...
Section B
AI is thinking...
Attempt any eight questions: (8x5 = 40)
AI is thinking...
4. Explain the do while structure.
AI is thinking...
5. Explain the inline function with example.
AI is thinking...
6. How is dynamic initialization of objects achieved?
AI is thinking...
7. What are the importance of destructors?
AI is thinking...
8. What is an operator function? Explain with syntax.
AI is thinking...
9. Explain with example, how you create space for array of object using pointers?
AI is thinking...
10. Explain the features of I/O system supported by C++.
AI is thinking...
11. Differentiate between overloaded functions and function templates.
AI is thinking...
12. What are the main advantages of using exception handling mechanism in a program?
AI is thinking...
13. What are the major differences between overriding and overloading?
AI is thinking...