Pondicherry University 2008 B.C.A Computer Application , OOPS C++ - Question Paper
Monday, 28 January 2013 01:00Web
(Pondicherry university)
B.Sc ,B.C.A DEGREE EXAMINATION, MAY 2008.
FOURTH/SECOND SEMESTER
OBJECT ORIENTED PROGRAMMING WITH C++/OBJECT ORIENTED PROGRAMMING
PART –A (10 *2= 20 MARKS)
ans all the ques..
1. What is inheritance?
2. Define overloading.
3. What do you mean by enumeration?
4. Explain prototypes with example
5. Define Constructor.
6. What is the use of operator Keyword
7. Define Abstract Class.
8. What is meant by pointer?
9. Define static functions.
10. provide the syntax of open () function.
PART-B (5*6=30 MARKS)
ans any 5 ques..
11. discuss any 2 characteristics of object-oriented languages.
12. Briefly discuss passing by value with and example.
13. Write a C++ program to sort a list of numbers.
14. Write a note on data conversion.
15. elaborate the pitfalls of operator overloading and conversion? discuss.
16. explain about class Hierondries.
17. Create a class for a publishing company that markets both books and audiocassettes and prints all the information’s.
18. Write a c++ program to obtain out today’s date, time.
PART-C (5*10 =50 MARKS)
ans ALL THE ques.
19. (a) explain in detail decisions in C++.
Or
(b) explain about polymorphism and overloading.
20. (a) define in detail structures.
Or
(b) discuss overloaded functions with suitable examples.
21. (a) write a detailed note on constructors and destructors with counter example.
Or
(b) explain about overloading binary operators.
22. (a) discuss the following:
(i) Accessing Base Class members.
(ii) Constructors in multiple inheritances.
Or
(b) Write a note on pointers and strings.
23. (a) How the normal member functions and virtual member functions accessed with pointers? discuss.
Or
(b) Write short notes on:
(i) Object I/O.
(ii) String I/O.
--------------------------------
Earning: Approval pending. |