Periyar University 2007 M.C.A Computer Aplications OBJECT ORIENTED PROGRAMMING (Code: 06PCA06) - Model - Question Paper
Sunday, 27 January 2013 08:35Web
Time: three Hrs Marks: 75
PART A – (5 X five = 25 MARKS)
ans ALL ques..
1. (a) Write a program in C++ to generate Fibonacci series of 'n' numbers using a parameterized constructor and destructor. (Or)
(b) Compare and contrast OOPS concepts in C++ and Java.
2. (a) provide short notes on function pointer in C++ with example. (Or)
(b) What is the difference ranging from overloading and overriding?
Does this overriding concept exist in C++? Justify.
3. (a) What is manipulator in C++? discuss.
(Or)
(b) Write an account of Stream classes in C++.
4. (a) Write the features of Java.
(Or)
(b) discuss about interfaces in java with example
5. (a) discuss the thread life cycle in Java.
(Or)
(b) Write how to handle exceptions in java with example
PART B – (5 X 10 = 50 MARKS)
ans ALL ques..
6. (a) Write a program for Stack manipulation using as much as OOPS concepts as possible in C++.
(Or)
(b) How C++ Classes are far better than Structures in C? Analyze the drawbacks of structures and advantages of classes in detail.
7. (a) Write a program in C++ for reverse display of linked list. (Or)
(b) What is multiple inheritance? discuss. Why it is eliminated in Java? What is the drawback of it in C++?
8. (a) Write a program in C++ using command line argument for copying from 1 file to a different file.
(Or)
(b) Constructor a Calculator using C++ Templates.
9. (a) explain briefly packages in Java with example.
(Or)
(b) discuss the subsequent concepts in Java with example:
i. Arrays ii. Strings iii. Vectors
10. (a) Briefly explain Applets in Java with example.
(Or)
(b) Write about graphics programming in Java.
Earning: Approval pending. |