MCA Degree Question Paper OOPS and C++-Bharathiar University


Get the details and question paper of MCA Degree OOPS and C++-Bharathiar University

Register Number: -----------------------

BHARATHIAR UNIVERSITY, COIMBATORE-46.

MODEL EXAMINATIONS – OCTOBER 2010.

OBJECT ORIENTED ANALYSIS & DESIGN and C++ – (33A)
COURSE: II - M.C.A
Max. Marks: 75

SECTION – A (10 x 1 = 10 Marks)

ANSWER ALL THE QUESTIONS:-

1. Name any two kinds of programming styles.
2. Define abstract class.
3. State the difference between interface and implementation.
4. What is a parameterized class?
5. What is the use of manipulators?
6. When is scope resolution operator used?
7. What is the role of destructors in C++ program?
8. What is use of type conversion?
9. What is the use of comma operator?
10. Write any two string handling functions present in C++.

SECTION – B ( 5 X 3 = 15 Marks)

ANSWER ALL THE QUESTIONS:-

11. a. Briefly discuss about aggregation. (Or)
b. What is concurrency?

12. a. What is association? Name the three kinds of cardinality across an association. (Or)
b. What is conceptual clustering?

13. a. Mention the important characteristics of Object Oriented Programming. (Or)
b. Syntactically explain nested "if-else" statement in C++.

14. a. Write a class declaration in C++ to create a class 'Time' with hours, minutes and seconds
as integer type data members and members function to set the time to user supplied values. (Or)
b. What are void pointers?

15. a. What are templates? . (Or)
b. Write a short note on exception handling.

SECTION – C ( 5 x 10 = 50 Marks)

ANSWER ALL THE QUESTIONS:-

16. a. Explain the state, behaviour and identity of objects with example. (Or)
b. Explain the major elements of the object..

17. a. Explain about how to measure the quality of an abstraction. (Or)
b. State and explain the problem of classification and the various approaches to classification

18. a. With examples, explain
i) Referencing & Dereferencing operators
ii) Inline function (Or)
b. Explain the following with relevant examples:
i) Const arguments
ii) Principles of function overloading

19. a. Write a C++ program to overload the operator to add two complex numbers. (Or)
b. With relevant examples, explain
i) Multilevel Inheritance
ii) Hybrid Inheritance

20. a. Write a program to read the content of text file and display the contents in the monitor. (Or)
b. With suitable example, explain the following concepts:
i) Virtual functions
ii) Polymorphism


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: