OBJECT ORIENTED PROGRAMMING -MCA 1.2.4

MCA 1.2.4 OBJECT ORIENTED PROGRAMMING(Model  Paper )



First Question is Compulsory

Answer any four from the remaining

Answer all parts of any Question at one place.

Time: 3 Hrs.                                                Max. Marks: 70



1. Discuss the following

a)   Conversion rules and casts in C++

b) Static and Const member functions

c)  Template Parameters

d) Copy Constructor



2. a)  Outline the underlying concepts of Object Oriented programming

b)  Write a class description for complex numbers. Write methods for

addition and subtraction.



3.   a)  What are the function calling mechanisms supported by C++.

               Explain them with examples

b)   Outline with a suitable C++ program, the concept of two classes

       having a common friend function.

  

4 .   a)   What are the types of Inheritances?

b)   Discuss the concept of constructors under inheritance using

      relevant examples.

  

5 .   a)   What is dynamic binding? Outline this concept through a virtual

                    destructor.

b) Explain with an example how to overload postfix(++) operator

  

6.      a)   What are the different types of  containers supported by C++

                    standard library.

b)   Discuss how the file I/O is handled in C++

    

7.      a)   Discuss the exception handling mechanism in C++

               b)   Using templates, write a generic version of bubble sort, complete

                     with assertion. Use a random number generator to generate test

                     data.

8. With a relevant example, explain the design of a project using UML.

0 comments:

Post a Comment

 
Etutos © 2010-2011