eee
MCA DEGREE EXAMINATION, NOVEMBER 2014
Second Semester
MC1321 — OBJECT ORIENTED PROGRAMMING USING C++
(For the candidates admitted during the academic year 2013-2014 omvards)
Time: Three hours Max.Marks:100
Answer ALL Questions
PART ~ A (10 x 2=20 Marks)
1. State the major parts of C+ program.
2. What is the use of scope resolution operator?
3. How will you pass an object as function argument?
4, Define the term object.
5. Mention the importance of inheritance in C++,
6. What is meant by hybrid inheritance?
7. Write a brief note on streams.
8, State the syntax of a set function.
9
.. Write a short note on generic programming,
10. How STL differ from C++ standard library?
PART —B (5 x 16 = 80 Marks)
11a. Explain in detail the various object oriented concepts.
(OR)
b. Describe the concept of function overloading with suitable
program.
Page 10f2 osNAIMCIS2I
12. a. Give a detailed note on friend function. List out the merits
and demerits of using friend functions,
(OR)
b. Write a banking operations program using arrays of
objects.
13.a, Discuss in detail single and multiple inheritances with
example programs.
(oR)
b. Examine multilevel and hybrid level inheritances with
example programs.
14. a. Classify the various unformatted I/ O operations.
(OR)
b. Explain the updating of a file using random access method.
15. a. Describe with suitable example, class template and class
template with multiple parameters.
(OR)
Explain handling of an exception in C++,
s
waee
Page 20F2 osNADMCI32E