Headlines News :
Home » » CS2305 PROGRAMMING PARADIGMS - ANNA UNIVERSITY QUESTION PAPER NOVEMBER/DECEMBER 2010 ...

CS2305 PROGRAMMING PARADIGMS - ANNA UNIVERSITY QUESTION PAPER NOVEMBER/DECEMBER 2010 ...

Written By Anonymous on Monday, October 22, 2012 | 10/22/2012

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

Fifth Semester

Computer Science and Engineering

CS 2305 â€" PROGRAMMING PARADIGMS

(Regulation 2008)

Time : Three hours Maximum : 100 Marks

Answer ALL questions

PART A â€" (10 × 2 = 20 Marks)

1. Define Objects and classes in java.
2. How does one import a single package?
3. What is meant by Inheritance Hierarchy? Give an Example.
4. In java what is the use of Interfaces?
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 â€" (5 × 16 = 80 Marks)
11. (a) (i) What is a constructor? What is the use of new method? (4)
(ii) Give the syntax for static method and its initialization. (4)

(iii) Explain arrays in java. (8)
Or
(b) (i) What is class? How do you define a class in java? (4)
(ii) Explain the following in Strings :
(1) Concatenation
(2) Substrings. (4)
(iii) Explain any four methods available in string handling. (4)
(iv) What is a Package? How does a complier locate packages? (4)
12. (a) (i) Explain Inheritance and class hierarchy. (8)
(ii) Define Polymorphism. (2)
(iii) Write briefly on Abstract classes with an example. (6)
Or
(b) (i) Explain the following with examples :
(1) The c lone able interface
(2) The property interface. (8)
(ii) What is a static Inner class? Explain with example. (8)
13. (a) (i) Explain the AWT Event handling in detail. (8)
(ii) Give the methods available in graphics for COLOR. (4)
(iii) List the methods available to draw shapes. (4)
Or
(b) (i) Explain the Characteristics of model view Controller design
patterns. (4)
(ii) Mention the advantage and explain the methods in Model view
controller. (12)
14. (a) (i) Explain the generic classes and generic methods with example. (8)
(ii) Explain the exception hierarchy. (8)
Or
(b) (i) Ex plain the concept of throwing and catching exception in java. (8)
(ii) State the situations where assertions are not used. (4)
(iii) Give an overview of logging. (4)
15. (a) (i) What is a thread? Explain its states and methods. (8)
(ii) Explain thread properties. (8)
Or
(b) (i) Explain the methods of interrupting threads in java. (8)
(ii) What is Event-driven programming? Explain. (8)
Share this article :

0 comments:

Post a Comment

 
Support : Creating Website | Johny Template | Maskolis | Johny Portal | Johny Magazine | Johny News | Johny Demosite
Copyright © 2011. Education World - All Rights Reserved
Template Modify by Creating Website Inspired Wordpress Hack
Proudly powered by Blogger