Thursday, May 21, 2009

Question Paper for MCA Degree -December 2005

Question Paper
2005 December


Previous Next

MC1652 Object Oriented Programming


PART - A
MARKS 10 x 2 = 20

1. What is object oriented programming?

2. What is object based language?

3. What is dynamic allocation?

4. What are pointers?

5. Define Class

6. What is the use of constructor?

7. Distinguish between overloading and overriding.

8. What is template?

9. What is class interface?

10. Mention the major tasks in object oriented design.


PART - B

11. (i) What is operator overloading? List out the rules to overload an unary operator. (6)

(ii) Write a C++ program to add two matrices using overloaded + operator. (10)


12. a) (i) Explain the characteristics of OOPs. (8)
(ii) List out the applications of OOPs.(8)

OR

b) (i) Compare OOP and POP. (8)
(ii) Write short notes on Object oriented design. (8)

13. a) (i) Explain operators available in C++. (8)
(ii) Explain about dynamic allocation in C++. (8)

OR

b) (i) Distinguish between a class and an object.(6)
(ii) Write a C++ program to display the given number in words for example. If the input is 123 and the output is ONE TWO THREE. (10)


14. a) (i) Explain about virtual function with an example. (8)
(ii) Distinguish between static binding and dynamic binding. (8)

OR

b) (i) Write a C++ program to implement hybrid inheritance.(8)
(ii) Write a C++ program to create a file with set of names and read the data from the file and arrange the names in alphabetical order and store in an another file. (8)

15. a) With the help of suitable examples, explain as to how relationship among classes could be used in the efficient design of an object oriented system.

OR

b) Briefly describe the design of an airline reservation system.

No comments:

Post a Comment