About Me

Object Oriented Programming -3rd ND10 CS2203

Sponsored Ads:

Quick Links
University Papers University Syllabus Entrance Exam
PSU Papers Bank Papers Placement Papers
VTU Anna Univerity Syllabus Anna Univerity Papers
B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2010
Third Semester
Computer Science and Engineering
CS 2203 - OBJECT ORIENTED PROGRAMMING
(Common to Information Technology)
(Regulation 2008)

University Papers | Syllabus | Entrance Exam | Govt & PSU Papers | Bank Papers

Programming Questions  |  Travel Tips | Mobile Review | Placement Papers

ANNA UNIVERSITY SYLLABUS: CLICK HERE

OTHER DEPARTMENT PAPERS: CLICK HERE

Download PDF Version- Click Here

For More Question paper on CSE -  CLICK HERE

For more question paper of IT - CLICK HERE



PART A — (10 × 2 = 20 Marks)

1. What is data hiding?
2. What are the advantages of default arguments?
3. Write any four special properties of constructor.
4. List any four operators that cannot be overloaded.
5. What is a template?
6. How is an exception handled in C++?
7. When do we make a class virtual?
8. Distinguish between early binding and late binding.
9. Name the features included in C++ for formatting the output.
10. What is file mode? List any four file modes.





PART B — (5 × 16 = 80 Marks)

11. (a) Explain the special features of object oriented programming. (16)
Or
(b) (i) List the special characteristics of friend function. (6)
(ii) Write a C++ program to find the area of the square, rectangle, circle
using function overloading. (10)

12. (a) Explain the different types of constructors with suitable examples. (16)
Or
(b) (i) Write the rules for overloading the operators. (6)
(ii) Write a C++ program to add two complex numbers using operator
overloading. (10)

13. (a) (i) Explain the overloading of template function with suitable example.(8)
(ii) Write a function template for finding the minimum value contained
in an array. (8)

Or

(b) (i) List the advantages of exception handling mechanisms. (4)
(ii) Write a C++ program for the following :
(1) A function to read two double type numbers from keyboard.
(2) A function to calculate the division of these two numbers.
(3) A try block to throw an exception when a wrong type of data is
keyed in.
(4) A try block to detect and throw an exception if the condition
''divide-by-zero'' occurs.
(5) Appropriate catch block to handle the exceptions thrown. (12)

14. (a) Explain different types of inheritance with suitable example for each one
of them. (16)
Or
(b) (i) Give the rules for writing virtual functions. (6)
(ii) Write a C++ program to illustrate the use of virtual function. (10)

15. (a) (i) Explain the use of any six manipulators with example. (6)
(ii) Discuss in detail the unformatted I/O operations. (10)
Or
(b) (i) Explain the stream classes for file operations with suitable
diagram. (4)
(ii) Write an interactive, menu-driven C++ program that will access the
database file containing the list of telephone numbers and their
corresponding customer name, and implement the following tasks :
(1) Determine the telephone number of the specified person.
(2) Determine the name if the telephone number is known.
(3) Update the telephone number, whenever, there is a change.(12)

Post a Comment

1 Comments