Seat Number, [S]¢ [4 23 DH-102
Total Pages
Time : 2 Hours
Note : (1)
(2)
(3)
(4)
)
1. (A) Attempt any six of.the following :”
@
Gi) JSP stands for ...
CS-606 (B)
Java Programming-II
(862462)
: 6]
Max Marks : 60
Do nat write anything on question paper except Seat No.
All questions are compulsory.
Figures to the right indicate full marks:
Students should note, no supplement will be provided.
Graph or diagram should be drawn with the black ink pen or black
HB pencil.
6
.. is a topmost window that may not be part of any
other window.
@ Panel (6) Frame
© = Grid @ Button
(@ Java Server Pages
(6) JDK Script Package
() JavaScript Package
(d) All of the above
P.T.0.DH-102
(iv)
()
(vi)
(vii)
... method is invoked to display the output on the Screen
in the form of text, graphics, etc.
(a) graphics( ) (6) paint( )
(ce) image( ) (d)_init( )
tess menu is a menu that is not attached to a menu bar
but that appears somewhere.
(@) Pop-up (6) Regular
© Main (d)_ All of these
.. method is used set or change the text in a label.
@ —_getText( ) (6) print( )
©) setText( ) (@__ changetext( )
Java event is a .... which specifies the change of state in
the source.
(a) class (6) object
©) both (a) and (b) (d) _ string
API stands for ...
(a) Applet Programming Interface
(6) Application Programming Interchange
(c) Applied Programming Interface
(d) Application Programming Interface(B)
eee ~ TP Ra
(ii) ‘Which of the following is not valid layout manager in
Java ? .
@ Grid layout (©) Border layout
© Flow layout @ Container layout
Attempt any six of the following : 6
© What is default size of frame ? — )
(i) What is an applet ? - © G)
Gii) Define Collections in Java.
() What is purpose of text area component ?
(x) What do you mean by event listener? —
(vi) What are benefits of frame layout ?
(vii) How to draw 2D rectangle ? — cr
(viii) Define JavaBeans.
2. Attempt any six of the following : 12
@ Explain how to set a different color to graphics object.
(i) How to use icon in menu item ?
(ii) | Write the steps used to execute an applet. ~
@) Discuss Type 1 JDBC driver.
() Draw the figure of servlet life-cycle.
P.T.0.
DH-102(vi) What is bean persistence property ?
(vit) What is the purpose of an adapter class ?
(viii) Explain