Total No. of Questions : 5] SEAT No.
:
PB-1478 [Total No. of Pages : 2
[6226]-603
T.Y. B.B.A.(C.A.)
CA - 603: ADVANCED JAVA
(Semester-VI) (2019 Pattern) (CBCS)
Time : 2½ Hours] [Max. Marks : 70
Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right indicate full marks.
Q1) Attempt any Eight of the following : [8 × 2 = 16]
a) What is servlet?
b) What is protocol?
c) What is socket?
d) What is TCP/IP?
c) What is the sleep ( ) method?
f) List types of Result Set.
g) List any 4 implicit objects of JSP.
h) What is Hibernate?
i) What is port?
j) What is session?
Q2) Attempt any FOUR of the following : [4 × 4 = 16]
a) Explain JSP Life Cycle with diagram.
b) List & explain JDBC drivers.
c) Differentiate between do Get ( ) and dopost ( ) methods
d) Write a Java program to display odd numbers, between 1 to 100 in each
number should display after 2 seconds (multithreading)
e) Write a servlet application to display hello Java message on the browser.
P.T.O.
Q3) Attempt any FOUR of the following : [4 × 4 = 16]
a) Explain thread synchronization with example.
b) What is cookies? Explain use of cookies in session tracking with example.
c) Explain JSP directives in detail.
d) Write a JSP script to display factorial of a given number.
e) Write a Java program to display date of server machine on client's machine.
Q4) Attempt any FOUR of the following : [4 × 4 = 16]
a) Explain statement interface in detail along with prepared statement and
callable statement.
b) Explain any 4 methods used in thread life cycle
c) Write a JDBC program to insert record into student table. (Assume student
table is already created having columns rno, name, percentage)
d) Write a java program using multithreading to print "Hello Java" message
for 500 times.
e) Explain socket of Server Socket class in detail.
Q5) Write a short note on any two of the following: [2 × 3 = 6]
a) Hibernate
b) Connection interface
c) Thread Priorities
[6226]-603 2