Question Paper - December 2008
MC1652 OBJECT ORIENTED PROGRAMMING
PART - A MARKS 10 x 2 = 20
1. What do you mean by Data Abstraction?
2. Differentiate classes and objects.
3. List out the advantages of an Inline function
4. What is the use of Dynamic allocation?
5. List out the operators that cannot be overloaded.
6. List out the operators that cannot be overloaded.
7. Distinguish a Virtual function from a Pure Virtual function.
8. What is the use of Container Classes?
9. What are the reasons for having concrete types when we can have abstract types?
10. What is the need for an Abstract class?
11. a) Explain the following programming concepts.
i) procedural Programming. (8)
ii) Modular Programming (8)
OR
b) Explain the features of C++ Programming. (16)
12. a) Explain the following with sample application.
i) Friend function. (8)
ii) Friend classes. (8)
OR
b) Write a program for 2 dimensional array multiplication using pointers.(16)
13. a) Write a program to overload the following operators:
i) Member Operator. (8)
ii) New and Delete Operator. (8)
OR
b) Write a program to overload the following operator for Array.
i) Binary Operator for substraction.(4)
ii) Per increment.(4)
iii) Unary minus using friend function.(4)
iv) Unary minus.(4)
14. a) Explain the different types of Exception. How will you handle Exceptions. Explain with sample program.
OR
b) Explain different types of inheritance with different types of access specifier.
15. a) Explai9n the role and different types of classes with an example.
OR
b) What do you mean by Application Frameworks explain with sample application?
No comments:
Post a Comment