1.(a)  Define default constructor.

(b)  Differentiate between call-by-value and call-by-reference.

(c) Explain ‘Virtual function’ with example.

(d)  What is Overriding?

(e)   What is Destructor?

(f)  What are in line functions?

(g)  What are access specifiers?

2.(a)  What are the benefits of Object Oriented Programming?

(b)   Clearly explain the concepts of Object Oriented Programming?

3.(a)  Explain the concept if inheritancec and derived classes.

(b)  Write a recurrsive function to find the GCD of two numbers.

4.(a)  Explain how a pure virtual function helps to implement “one abstract class multiple methods” aspect of polymorphism,programitically.

(b)   How does a member function different from constuctor and destructor?

5.(a)   Discuss interaction diagrams and state chart diagrams.

(b)   Discuss about rethrow of an exception and how to catch all exceptions.

6.(a)  Write notes on classes and objects in Java

(b)  Write a Java specification with base class shape and derived classes Circle and Rectangle.The classes have method area() that return the area of the shape.

7.  (a)  What is the difference between Package and Interface?

(b)  What is Multi threading in Java?  E xplain with suitable examples the process of multi threading.

8.  Write short  notes on:

(a)  Java and C++: Differences

(b)  Storage classes in C++

(c) Dynamic Binding.

tejus mahiCSE 2.2 SyllabusCSE,CSE 2.2 Previous Papers,CSE Previous Papers,Object Oriented Programming Previous Papres
1.(a)  Define default constructor. (b)  Differentiate between call-by-value and call-by-reference. (c) Explain ‘Virtual function’ with example. (d)  What is Overriding? (e)   What is Destructor? (f)  What are in line functions? (g)  What are access specifiers? 2.(a)  What are the benefits of Object Oriented Programming? (b)   Clearly explain the concepts of Object Oriented Programming? 3.(a)  Explain the concept if...