Tamil Nadu Open University (TNOU) 2009-3rd Year B.C.A Computer Application " C++ AND OBJECT ORIENTED PROGRAMMING " UG 425 14 - Question Paper
UG-425 BCA-14
U.G. DEGREE EXAMINATION -JANUARY 2009. (AY 2004-05 batch onwards)
Third Year
B.C.A.
C++ AND OBJECT ORIENTED PROGRAMMING
Time : 3 hours Maximum marks : 60/75
Answer for 5 marks question should not exceed 2 pages.
Answer for 10 marks questions should not exceed 5 pages.
PART A
Candidates with enrollment number starting with A4 BCA and C5 BCA should answer any FOUR from the Questions 1 to 6 and all others should answer any FIVE from the Questions 1 to 7 in Part A.
(4 x 5 = 20) (5 x 5 = 25)
1. What is Abstraction? Give example.
2. Write a C++ program to find the sum of digits of a given number.
3. Explain the purpose of new and delete operator.
4. What is a structure? How does a structure differ from an array?
5. What is inheritance? Give an example
6. With an example explain how an object is passed to a function.
7. Discuss about command-line arguments with an example.
PART B
Candidates with enrollment number starting with A4 BCA and C5 BCA should answer any FOUR from the Questions 8 to 13 and all others should answer any FIVE from the Questions 8 to 14 in Part B.
(4 x 10 = 40) (5 x 10 = 50)
8. What is a manipulator? Explain the use of I/O manipulators with example.
9. List out the various control structures available in C++. Give an example
10. Explain the different types of Arrays in detail.
11. What is a constructor? Explain the different types of constructors.
12. Describe the various file stream classes.
13. How is polymorphism achieved at (a) Compile time and (b) Run time - Discuss
14. Explain Unified Modeling Language in detail.
3 UG-425
Attachment: |
Earning: Approval pending. |