March 6, 2010

IF 144 — OBJECT ORIENTED PROGRAMMING QUESTION PAPERS


ANNA UNIVERSITY
B.E. CSE
IF 144 — OBJECT ORIENTED PROGRAMMING


Time: 3hrs Max Marks: 100
Answer all Questions
PART - A (10 x 2 = 20 Marks)

1. How is data hiding implemented in C++?
2. Compare overloading and overriding of functions.
3. What are the functions of new and delete operators?
4. What is the need for friend functions?
5. Why do we need virtual functions?
6. How do you overload a postfix and a prefix increment operator?
7. When do we declare a coust member function?
8. What are the properties of a static class member?
9. What does system out represent in Java? How is it used?
10. What is an abstract method in Java?


PART - B (5 x 16 = 80 Marks)
11. What are the basic principles of Object Oriented Programming? Explain with examples, how they are implemented in C++?
12.a)
Create a class vector to represent an one dimensional vector with addition operator + to represent and a scalar product operator * to represent Use them in a main program.
12.b)
Can the insertion operator <<>> be members of a class? Give examples to justify your answer.
13.a) What are the different kinds of inheritance? Explain them with suitable examples.
(OR)
13.b) Define a class Cartesian to represent a point in Cartesian co-ordinates (x, y) and class polar to represent it in polar co-ordinates (r, 0) . Use constructor conversion and operator conversion functions in class Cartesian to convert object of one type into another. Use them in a main program.
14.a) Write a Java program to illustrate the difference between an instance variable and a class variable.
(OR)
14.b) Write a Java program that creates a Date class and use it with appropriate members and methods.
15.a) Write a Java applet that asks the user to enter two floating point numbers, obtain the two numbers from the user and draws the sum and product of the two numbers.
(OR)
15.b) Define a Java method to find the greatest among three numbers. Write a Java applet that obtains three numbers from the user and displays the largest using the method.



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.