K. K. WAGH POLYTECHNIC, NASHIK - 3. DEPARTMENT OF INFORMATION TECHNOLOGY. PROGRESSIVE THEORY TEST- II (MAR 2006) CLASS: TYIF. SUB: JAVA PROGRAMMING (JPR - 1526)
TIME: 2 Hrs. MARKS: 50.
_____________________________________________________________ Instructions:1) All questions are compulsory. 2) Illustrate your answers with neat sketches wherever necessary. 3) Use of Non programmable Electronics Calculator is permissible. 4) Figures to the right indicate full marks. 5) Assume suitable additional data, if necessary.
Q.1 Attempt any SIX of the following:
18
a) Explain life cycle of an Applet. b) Write a note on Adapter Classes. c) What are the event sources and event listeners? d) What is proxy server? Explain. e) Describe the use of ExecuteQuery() method. f) Explain the differences between Choice & List. g) What is difference between Applet and Frame? h) What is anonymous inner class?
Q.2 Attempt any FOUR of the following:
16
a) What is JDBC? Write a note on JDBC vs. ODBC. b) What is stream? Write a program to copy contents of one file to other. c) Write an Applet application that display string ‘click ‘every time the mouse button is clicked. The string is displayed where mouse is clicked. d) How throw differs from throws clause in java. e) Describe DatagramPacket class. f ) Write a note on List & StatusWindow.
Q.3 Attempt any TWO of the following:
16
a) What is thread? Why use thread? Why is thread synchronization important in multithreaded programme? b) What is layout? Explain different types of layouts in AWT. c) a. Explain the term Frame and Panel. b. Create an Applet to accept a date using <param> tag and display that with message “The Birth date is: “.
****************************************ALL THE BEST ****************************************