August 14, 2011

CS2305 - programming paradigms -010 Anna University-Question paper



B.E/B.Tech. DEGREE EXAMINATION,NOVEMBER/DECEMBER 2010
Fifth Semester

Computer Science and Engineering

CS 2305 - PROGRAMMING PARADIGMS


Answer ALL questions

PART A - (16 x 2 = 20)

1. Define Objects and classes in java.
2. How does one import a single package?
3. What is meant by Inheritance Hierrarchy? Give an example.
4. In Java what is the use of Interface?
5. What are the steps needed to show a Frame?
6. What is the function of
(a) Set Layout and
(b) Flow Layout?
7. Give any two methods available in Stack trace Element.
8. Define Assertions and give its syntax.
9. What are the different states in thread?
10. What do you mean Synchronization?

PART B


11. (a)(i) What is constructor? What is the use of new method? [Marks 4]
(ii) Give the syntax for static method and its initialization. [Marks 4]
(iii) Explain arrays in java. [Marks 8]
Or
(b) (i) What is class? How do you define a class in java? [Marks 4]
(ii) Explain the following in Strings:
(1) Concatenation
(2) Substrings. [Marks 4]
(iii) Explain any four methods available in string handling. [Marks 4]
(iv) What is a package? How does a compiler locate packages? [Marks 4]

12. (a) (i) Explain Inheritance and class hierarchy. [Marks 8]
(ii) Define Polymorphism. [Marks 2]
(iii) Write briefly on Abstract classes with an example. [Marks 6]

Or

(b) (i) Explain the following with examples:
(1) The clone able interface
(2) The property interface. [Marks 8]
(ii) What is a static Inner class? Explain with example. [Marks 8]


13. (a) (i) Explain the AWT Event handling in detail. [Marks 8]
(ii) Give the methods available in graphics for COLOR. [Marks 4]
(iii) List the methods available to draw shapes. [Marks 4]


Or

(b)(i) Explain the characteristics of model view Controller design patterns. [Marks 4]
(ii) Explain the advantage and explain the methods in Model view controller.[Marks 12]

14. (a) (i) Explain the generic classes and generic methods with example. [Marks 8]
(ii) Explain the exception hierarchy [Marks 8]

Or
(b) (i) Explain the concept of throwing and catching exception in java. [Marks 8]
(ii) State the situations where assertions are not used. [Marks 4]
(iii) Give an overview of logging [Marks 4]


15. (a) (i) What is a thread? Explain its states and methods. [Marks 8]
(ii) Explain thread properties. [Marks 8]

Or

(b) (i) Explain the methods of interrupting threads in java. [Marks 8]
(ii) What is Event- driven programming? Explain. [Marks 8]

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

 

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.