MC921- OBJECT ORIENTED PROGRAMMING MAY/JUNE 2010 question paper

0
M.C.A DEGREE EXAMINATION MAY/JUNE 2010
SECOND SEMESTER
MC921- OBJECT ORIENTED PROGRAMMING

PART -A

1.WHAT IS ENCAPSULATION ?
2.STATE THE DIFF BETWEEN BREAK AND CONTINUE STATEMENT?
3.WHAT IS THE USE OF "THIS" OPERATOR?
4.WHAT IS THE PURPOSE OF DEFAULT CONSTRUCTOR?
5.MENTION THE OPERATORS THAT ACT TO DEREFERENCE A POINTER TO CLASS MEMBERS?
6.WHAT IS THE USE OF VOID* POINTER
7.DEFINE STL?
8.WHAT IS TEMPLATE? HOW IS IT USED IN C++?
9.WHEN THE UNEXCEPTED() HANDLER WILL BE CALLED?
10.DEFINE PURE VIRTUAL FUNCTION?

PART -B

1.a) LOOPING STRUCTURES IN C++ EXPLAIN WITH EXAMPLE
b) EXPLAIN NEW AND DELETE OPERATORS

2.a)WHAT IS SCOPE? EXPLAIN STORAGE CLASSES IN C++
b)EXPLAIN ENUMERATION IN C++

3.a)WRITE A C++ PGM TO SORT 'n' NUMBERS USING MEMBER FUNCTION?
b)DIFF STRUCTURES FROM UNION

4.a)EXPLAIN CONSTRUCTOR,ITS TYPES AND DESTRUCTOR?
b)WHAT IS AN ARRAY?

5.a)WRITE A PGM TO IMPLEMENT ARITHMETIC OPERATORS FOR COMPLEX NUMBERS USING OPERATOR OVERLOADING?

6.a) OPERATOR OVERLOADING AND FRIEND FUNCTIONS

7.a) WHAT ARE CONTAINER CLASSES IN C++? EXPLAIN CONTAINER CLASSES
b) WHAT IS ITERATOR? EXPLAIN ISTREAM AND OSTREAM OPERATOR?

8.LIST THE ALGORITHMS IN STL?

9. HOW EXCEPTION HANDLING IN C++?

10.WHAT IS INHERITANCE AND EXPLAIN ITS TYPES WITH EXAMPLE?
“Work hard in silence, let your success be your noise...”

    MC921- OBJECT ORIENTED PROGRAMMING MAY/JUNE 2010 question paper