K. K. WAGH POLYTECHNIC, NASHIK – 3 Department of Information Technology & Computer Technology MSBTE Class Test-II, October - 2008 Semester Subject Duration
: - Fifth Master: ‘C’ : - Java Programming (JPR) : - 1 Hour
=
=
=
=
=
=
=
Course : - IF / CM Subject Code : - 9113 Max. Marks : - 20
=
=
=
=
=
=
Instructions to candidate: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 Two.
(2 × 4)
08
a) Describe the process of garbage collection. b) How to build applet into HTML file? c) What is an exception? What will happen if the exception is not handled by the program?
Q.2 Attempt any Two.
(2 × 6)
12
a) Accept a date using <param> tag and display along with the message, “My Birthday is: “. b) Display the string “I love Java programming” one letter at a time with delay of 200 milliseconds. c) What is serialization? Explain with suitable example.