May Jun 2023

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Total No. of Questions : 8] SEAT No.

8
23
P309 [Total No. of Pages : 2
[6003]-388

ic-
T.E. (Electronics/E & TC)

tat
7s
ADVANCED JAVA PROGRAMMING

4:3
(2019 Pattern) (Semester - II) (Elective - II) (304195 C)

02 91
0:4
Time : 2½ Hours] [Max. Marks : 70

0
31
Instructions to the candidates:
0/0 13
1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, and Q.7 or Q.8.
0
2) Figures to the right indicate full marks.
6/2
.23 GP

3) Assume the suitable data, if necessary.


E
83

8
Q1) a) What is Container Class in Java? Explain types of Java Swing
C

23
Containers. [6]

ic-
b) Write a short note on. [6]
16

tat
8.2

ii) Hashing in java.

7s
ii) java. util Package.
.24

4:3
91
c) Distinguish between Array List and Vector in the Java collection
49

0:4
framework. [6]
30
31

OR
01
02

Q2) a) Write a Program using swing Components to add two Use text Fields for
6/2

inputs and output. Your Program should display the result when the user
GP

presses a button. [10]


0/0
CE

b) What are AWT component? Explain some AWT component. [8]


83

8
23
.23

Q3) a) What is database connection? Explain how to connect any java ic-
16

tat
application with the database using JDBC. [9]
8.2

7s

b) What is prepared Statement? Write a code that makes use of prepared


.24

4:3

Statement for inserting data. [8]


91
49

0:4

OR
30

Q4) a) What is JDBC? Explain driver types of JDBS. [9]


31
01
02

b) Give the details of the Executing SQL commands. [8]


6/2
GP
0/0

Q5) a) Compare between Stub and Skelton? Explain with neat diagram the RMI
CE
83

Architecture. [9]
.23

b) Develop an RMI application which accepts a string or a number and


16

checks that string or number is palindrome or not. [9]


8.2

OR
.24

P.T.O.
49
Q6) a) Explain in detail with necessary steps required to write distributed

8
application with RMI. [9]

23
ic-
b) Define RMI and explain the architecture of RMI with suitable diagram.

tat
State the goals of RMI. [9]

7s
4:3
02 91
Q7) a) What is TCP/IP client socket in JAVA? Discuss some methods of TCP/

0:4
IP client socket class. [7]

0
31
b)
0/0 13
Write a simple Java socket programming where client sends a text and
0
server receives and prints it. [10]
6/2
.23 GP

OR
E
83

Q8) a) Explain datagram, Datagram Socket and Datagram packet. [10]

8
C

23
b) Explain in detail Life cycle of a Servlet? [7]

ic-
16

tat
8.2

7s
.24

4:3
91
  
49

0:4
30
31
01
02
6/2
GP
0/0
CE
83

8
23
.23

ic-
16

tat
8.2

7s
.24

4:3
91
49

0:4
30
31
01
02
6/2
GP
0/0
CE
83
.23
16
8.2
.24

[6003]-388 2
49

You might also like