Monday, December 5, 2011

Programming Paradigrams (java ) cs 55 Notes and university questions

programming paradigrams topic notes:

Applet    :

Arrays   :

AWT  :

AWT1 :



university questions   :

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]



Theory of Computation Notes


Theory of Computation cs 53
total notes for all units                           :    click here 
File Name : THEORY OF COMPUTATION.pdf
shorten link    :     http://bit.ly/t6nwi4
media fire link  :     http://www.mediafire.com/download.php?jjrxrwaqqj93nf9
2 marks with answers                          :  click here
File Name :CS53 THEORY OF COMPUTATION.pdf
shorten link   :   http://bit.ly/rRE8Tm
media fire link  :  http://www.mediafire.com/download.php?las18q4r5lzy5cj
2 mark with answer and 16 mark questions :  click here
File Name :CS1303_Theory_of_computation.pdf
shorten link   :   http://bit.ly/uq2OYM
media fire link :   http://www.mediafire.com/download.php?rklwr7w2n1nbkj5
university question collection                   :   click here
shorten link   :   http://bit.ly/v1IDzU
media fire link   :     http://www.mediafire.com/?c5iki09er2i83ch