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?
KEYWORDS:2010 ANNA UNIVERSITY CHENNAI M.C.A COMPUTER APLICATIONS OOPS QUESTION PAPER,ANNA UNIVERSITY QUESTION PAPER,ANNA UNIVERSITY,ANNA UNIVERSITY CHENNAI,ANNA UNIVERSITY COIMBATORE,ANNA UNIVERSITY TRICHY,ANNA UNIVERSITY TIRUNELVELI,ANNA UNIVERSITY MADURAI,ANNA UNIVERSITY SYLLABUS,ANNA-UNIVERSITY RESULTS,ANNA UNIVERSITY DISTANCE EDUCATION,ANNA UNIVERSITY MBA-CENTRE FOR DISTANCE EDUCATION,ANNA UNIVERSITY SCHEDULE OF EXAMINATIONS,ANNA UNIVERSITY ADMISSION,ANNA UNIVERSITY COURSES,ANNA UNIVERSITY ACADEMIC,ANNA UNIVERSITY DEPARTMENTS,ANNA UNIVERSITY RESEARCH,ANNA UNIVERSITY MAIL,ANNA UNIVERSITY QUESTION PAPERS,ANNA UNIVERSITY COUNSELLING DATES,ANNA UNIVERSITY RE-EVALUATION RESULTS
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?
KEYWORDS:2010 ANNA UNIVERSITY CHENNAI M.C.A COMPUTER APLICATIONS OOPS QUESTION PAPER,ANNA UNIVERSITY QUESTION PAPER,ANNA UNIVERSITY,ANNA UNIVERSITY CHENNAI,ANNA UNIVERSITY COIMBATORE,ANNA UNIVERSITY TRICHY,ANNA UNIVERSITY TIRUNELVELI,ANNA UNIVERSITY MADURAI,ANNA UNIVERSITY SYLLABUS,ANNA-UNIVERSITY RESULTS,ANNA UNIVERSITY DISTANCE EDUCATION,ANNA UNIVERSITY MBA-CENTRE FOR DISTANCE EDUCATION,ANNA UNIVERSITY SCHEDULE OF EXAMINATIONS,ANNA UNIVERSITY ADMISSION,ANNA UNIVERSITY COURSES,ANNA UNIVERSITY ACADEMIC,ANNA UNIVERSITY DEPARTMENTS,ANNA UNIVERSITY RESEARCH,ANNA UNIVERSITY MAIL,ANNA UNIVERSITY QUESTION PAPERS,ANNA UNIVERSITY COUNSELLING DATES,ANNA UNIVERSITY RE-EVALUATION RESULTS