Total lio.
of Questions : 5l
SEAT No. :
P6fr22 [Total No. of Pages : 2
16144l;693
T.\',.8.8.A. (C.A.)
CA-6O3 : ADVANCED JAVA
(?0,i PattCrn) (Semester -VI)
,"rl' ':"'
Time :2% HoursJ [Max. Marks:70
Instructions to the cantliddl.es: . ..."
I) All questiops are compulsory.
2) Figures,lp lhe right'indicates.full murks.
Y,
Ql) Answer the following (any eight) :
[8x2:16]
a) Wiite down 2 packages of JDBC ApI.
b) What is yield ( ) method? . ,., 'u'.
c) What is JDBC ?
d) What is scriptlet tag? .,.,
:
-'' .1,,..,.
..-,. '
'1t-,
'r
e) What is wait ( ) and notify ()'1ri mu'ltithreading?
't"
0 What is Networking? -..,.,,.,' ,....
g) What is Driver Mana$6'r,class?.
ri
'
'
h) What is ORM ? ''=.' ,,:
r) What is Session ? ,.-","'
., i''
\2.
) What is the role of P" ared Statement?
..'.!'l
Q2) Atternpt any four ofthe following. [4x4:16l
a) Explain life cycle ofservlet.
b) Differentiate between statement and preparg4 taiement.
c) Explain Inter Thread communication in fvfiiltdreriding.
d) ExplainJSPArchitecture? ..'. '11*-' , n.. '
e) Write a JDBC Program to Insert the re"ord into patient table (Use prepared
statement) i. -
P.T,O.
following' l4x4=l6l
Q3) Attempt any Four of the
a suitable diagram'
a) Explain JDBC Drivers with
b) Write the use of lnetAddress
pl
s with suitable Example'
a'pd Servlet'
c) Differentiate beNvecn JSP
d)WriteaJDBCqn.d,ilo,deletetherecordsofstudentswhosenames
are starting *il.,l" ' chmacter'
bet" 1 to n'
W.it. ,lSnp#g'a4+o aisplay all the prime numbers
"; :,.
[4x4=161
f,our ofthe following'
Q4) Attempt anY
Elbments of JSP?
a) Wh8trry
.,- $eicripting in Java'
b) W'trrat arethe steps to connect to the database
c) Expla'irr'do GET and do POST
method' '"'"- , .-
number'
calculate the factolal,;?'f'ELgiven
l""
d) Wrutq a JSP program to
emntoyee in tabular
e) wiite a servlet program to disp144$e @1;f
format. Employee table structure'(en''
tll+'
sal' design)
...0{: ,),.,"'
r:r.t, , a
offfittoryiirg [2x3:61
a short note on any two
. QS) Write
a) Generic servlet and HTTPServlet
b) Cookies ., "'1;'=' ,-)-;"'
c) ResultSet Inter face{*"'' '-u
. 'ri
a
_c6\
\t
[61441-603