Dec 2015
Bachelor of Computer Application (BCA) Examination
III Semester
Object Oriented Programming Through C + +
Time 3 Hours] [Max. Marks 50
Note : Attempt any five questions. All questions carry equal marks.
1. (a) Explain static and dynamic binding with examples. How does compiler differ both of them in a program ?
(b) Explain how message passing is done in object oriented programming ?
2. (a) What is the application of scope resolution operator in C+ +? Explain with programming example.
(b) What do you mean by inline functions? Why is it beneficial to make small functions as inline ?
(a) What is parameterized constructor ? List some of the special
properties of constructor functions.
(b) Explain class and object in C+ +. Differentiate between class and structure with example.
4. (a) What do you mean by overloading of a function ? When do we use this concept ? Explain with example.
(b) Write a C+ + program to overload binary operator using friend function.
5. (a) What is exception handling ? Describe meaning of 'try', 'catch' and throw key words.
(b) Differentiate between multiple, multilevel and hybrid inheritance.
6. Write notes on any five of the following :
(a) C+ + Stream Class.
(b) Type Conversion.
(c) Abstract Class.
(d) Break and Continue.
(e) Templates.
(f) Virtual Base Class.