This document contains a practice test for a Java Programming class. It has 3 questions with multiple parts each. Question 1 has 6 short answer parts about applets, frames, panels, proxies, choices vs lists, File class methods, synchronized methods, RandomAccessFile class, and TextFields vs TextAreas. Question 2 has 4 short answer parts about anonymous inner classes, DatagramPacket class, streams and serialization, choices vs lists, JDBC vs ODBC, and MouseListener methods. Question 3 has 2 longer answer parts about creating a date accepting applet and explaining threads, thread synchronization, and layouts. The document provides instructions that all questions are compulsory and to illustrate with sketches or flowcharts where necessary.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
92 views1 page
Sessional Test-II JPR 2007-2008
This document contains a practice test for a Java Programming class. It has 3 questions with multiple parts each. Question 1 has 6 short answer parts about applets, frames, panels, proxies, choices vs lists, File class methods, synchronized methods, RandomAccessFile class, and TextFields vs TextAreas. Question 2 has 4 short answer parts about anonymous inner classes, DatagramPacket class, streams and serialization, choices vs lists, JDBC vs ODBC, and MouseListener methods. Question 3 has 2 longer answer parts about creating a date accepting applet and explaining threads, thread synchronization, and layouts. The document provides instructions that all questions are compulsory and to illustrate with sketches or flowcharts where necessary.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
K. K.
WAGH POLYTECHNIC, NASHIK - 3
DEPARTMENT OF INFORMATION TECHNOLOGY. SESSIONAL THEORY TEST- 2 (MAR - 2008) CLASS: TYIF. TIME: 2 Hrs. SUB: JAVA PROGRAMMING (JPR - 1526) MARKS: 50. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Instructions:- 1) All questions are compulsory. 2) Illustrate your answers with neat sketches/flowcharts wherever necessary. 3) Use of Non-programmable Electronics Calculator is permissible. 4) Figures to the right indicate full marks of respective questions. 5) Assume suitable additional data, if necessary.
Q.1 Attempt any SIX of the following: 18
a) Describe life cycle of an Applet. b) Explain the term Frame and Panel. c) Write a note on Proxy Server. d) Explain the differences between Choice & List. e) State and explain any three methods of File class. f) Describe the use of synchronized methods. g) Explain the use of RandomAccessFile class. h) Describe TextField and TextArea. i) Explain the use of executeQuery( ) method.
Q.2 Attempt any FOUR of the following: 16
a) What is anonymous inner class? b) Describe a DataGramPacket class. c) What is Stream? Explain serialization with suitable example. d) How Choice differs from List Component? e) What is JDBC? Differentiate JDBC and ODBC. f) What is MouseEvent? Explain various methods of MouseListener. g) Give the syntax for standard Applet tag.
Q.3 Attempt any TWO of the following: 16
a) Create an applet to accept date using <param> tag and display that along with message “The Birth Day is: “. b) What is Thread? Why use Thread? Why Thread synchronization is important? c) What is Layout? Explain types of Layouts in AWT.