March 6, 2010

CS 237 - OBJECT ORIENTED PROGRAMMING QUESTION PAPERS


ANNA UNIVERSITY :: CHENNAI
B.E. CSE
CS 237 - OBJECT ORIENTED PROGRAMMING


Time: 3hrs Max Marks: 100
Answer all Questions

PART - A (10 x 2 = 20 Marks)
1. How are data and functions organised in an object oriented programming?
2. Compare function overloading and default arguments.
3. What are the uses of references in functions?
4. What is dynamic binding?
5. Compare private and public access specifiers in a class.
6. Distinguish between overloaded functions and function templates.
7. What is this pointer? How is it available to member functions of a class?
8. Can the parameter of a copy constructor be passed by value? Justify your answer.
9. Compare constructor conversion and operator conversion.
10. What is the difference between system . out . print and system . out . println in Java?


PART - B (5 x 16 = 80 Marks)
11. Explain in detail the following principles of object oriented programming
(i) Data encapsulation and data hiding
(ii) Inheritance and polymorphism
(iii) Generic programming.


12.a) Create a class complex to represent complex number with overloaded addition and multiplication operators. Use them in a main program.

(OR)

12.b) Define a class string with appropriate constructors, destructor and overloaded +, =, and = = operators use them in a main driver program.


13.a) What are the different forms of inheritance? Give example for them.

(OR)

13.b) Create an abstract base class shape with two members base and height, a member function for initialization and a pure virtual function to compute area ( ). Derive two specific classes Triangle and Rectangle which override the function area ( ). Use these classes in a main function and display the area of a triangle and a rectangle.


14.a) Write a C++ program containing a possible exception. Use a try block to throw it and a catch block to handle it properly.

(OR)

14.b) Create a data class using Java with the following capabilities.
Out the date in multiple format such as
(i) dd - mm - yy
(ii) June 14, 2002.


15.a) Write a Java class point to represent a two dimensional point (x, y). Extend it to a class circle with its centre as the point and an additional radius member and extend further to a class cylinder with additional height member.

(OR)

15.b) Explain the concept of nested classes in Java with a suitable example.

Anna University Question Papers,Computer Science Engineering Question Papers,Electronics and Communication Engineering Question Papers,Information Technology Question Papers,Civil Engineering Question Papers,Mechanical Engineering Question Papers,Anna University Question Chennai Papers,Anna University trichy Question Papers


FEEL USEFUL PLEASE GIVE +1

0 comments :

Post a Comment

Get Syllabus in your Mail

Labels

Accenture Admission Notice - 2010 Admission Notification Anna University Anna University Chennai Anna University Question Papers Anna University Trichy Apparel Technology and Management Aptitude Questions Arts and Science Colleges Biomedical Engineering C and CPP Ebooks Calicut University CBSE Question papers Civil Engineering Civil Service Exams Colleges in India Colleges Result Computer Science Engineering Core Jobs CS R2008 CSE CSIR NET EBooks Download ECE EEE EIE Electives Electrical and Electronics Engineering Electronics and communication Electronics and Instrumentation Engineering Engineering Engineering Colleges in Maharashtra Engineering Colleges in TamilNadu Engineering Admissions Engineering Colleges Engineering Colleges in Karnataka Engineering Jobs Engineering Syllabus Entrance Exam Dates Entrance Exam Results Entrance Examination Exam Time Table Experiencer First Year Syllabus Freshers Full Time Jobs Government jobs in india Hardware and Networking Jobs Hotel Management and Catering Technology IGNOU Information Technology INTEVIEW QUESTIONS IT Jobs JNTU Question Papers Jobs in Bangalore Jobs in Chennai Jobs in Coimbatore Jobs in Delhi Jobs in Hyderabad Jobs in India Jobs in Kerala Jobs in Noida Jobs in Tamilnadu Jobs in TATA Karnataka Educations Lab Manuals Mechanical Engineering Medical Colleges Placement Papers Plus 2 Preparation for exams Private Jobs in India Question Papers Question Papers Download Results Announcement Semester 1 Semester 2 Semester 3 Semester 4 Semester 5 Semester 6 Semester 7 Semester 8 Syllabus Syllabus Download Tamil Movie TCS Placement Papers Teaching Jobs TECH MAHINDRA Textile Technology Top colleges University Results UPSC VICEVESVARAYA TECHNOLOGICAL UNIVERSITY waec Walk-in Interview Web Designers

Followers

Archive

Anna university Engineering Syllabus

Earn Money From Online

Government jobs in india

Admission Notification

Total Pageviews

 

Privacy Policy
http://topengineeringcollegesintamilnadu.blogspot.com use third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.