2072
Object Oriented Programming
Full Marks: 60
Pass Marks: 24
Time: 3 hours
Long Questions:
Attempt any two questions: (2 × 10=20)
- Explain the object oriented programming with its advantages. What are the features of object oriented languages? Explain.
- Write a program to overload the unary minus operator using friend function.
- Explain the role of inheritance in object oriented programming. What is public, private and protected dentation? Explain.
Short Questions
Attempt any eight questions: (8 × 5=40)
- Explain the syntax and rules of multiple inheritance in C++ with example.
- Explain do/while structure with example.
- Explain the Inline function with example.
- What is multiple inheritance? Explain with example.
- Explain the static class members with example.
- Differentiate between macro and function.
- Explain the use of break and continue statements in switch case statements in C++.
- Explain the different storage classes in C++.
- Explain the multilevel inheritance. How is it different from multiple inheritance?
- Explain the exceptional handling with example.