Nov Dec 2023
Nov Dec 2023
8
23
P7587 [Total No. of Pages : 3
ic-
[6180]-102
tat
T.E. (E & TC/Electronics)
2s
ADVANCED JAVA PROGRAMMING
8:3
02 91
(2019 Pattern) (Semester - II) (Elective - II) (304195 C)
9:4
0
30
Time : 2½ Hours]
5/1 13 [Max. Marks : 70
0
2/2
Instructions to the candidates:
.23 GP
8
C
23
ic-
16
tat
Q1) a) Distinguish between ArrayList and Vector. [4]
8.2
2s
b) Write a Java program for the following output using flow layout. Consider
.24
8:3
Left alignment horizontal gap is 20 units and vertical gap is 25 units. [7]
91
49
9:4
30
30
01
02
2/2
GP
5/1
CE
81
8
23
.23
ic-
16
tat
8.2
2s
c) Write a Java program for the following output using Radio Buttons. [7]
.24
8:3
91
49
9:4
30
30
01
02
2/2
GP
5/1
CE
81
.23
16
8.2
OR
.24
P.T.O.
49
Q2) a) Write a short note on Set interface. [4]
8
23
b) Write a program which stores the list of strings in an ArrayList and then
ic-
displays the contents of the list. [5]
tat
2s
c) Write a Java program for the following output using the concept of adding
8:3
Menu to Window. [9]
02 91
9:4
0
30
5/1 13
0
2/2
.23 GP
E
81
8
C
23
ic-
16
tat
8.2
2s
.24
8:3
91
49
9:4
Q3) a) Explain the execution of SQL commands while handling the database.[8]
30
30
connection. [9]
2/2
GP
8
23
.23
OR
ic-
16
tat
Q4) a) What is Prepared Statement? Write a Java Program to insert Roll Number
8.2
2s
and Student Name into Student table using Prepared Statement. [8]
.24
8:3
91
9:4
30
30
01
02
i) RMI registry
5/1
b) Write a simple RMI application in which the client invokes the method of
.23
OR
.24
[6180]-102
49
2
Q6) a) Write a java program to perform addition of two numbers with Client/
8
23
Server Application using RMI. [9]
ic-
tat
b) What is RMI? Explain with neat diagram the RMI Architecture. [9]
2s
8:3
02 91
9:4
0
30
Q7) a) 5/1 13
Write a short note on: [8]
0
2/2
.23 GP
i) Datagram
E
81
8
ii)
C
23
ic-
16
tat
b) What is socket? Explain steps used in socket programming. [9]
8.2
2s
.24
8:3
OR
91
49
9:4
30
30
Q8) a) What is servlet? Explain with neat diagram Life cycle of a Servlet. [8]
01
02
2/2
GP
8
23
.23
ic-
16
tat
8.2
2s
.24
8:3
91
49
9:4
30
30
01
02
2/2
GP
5/1
CE
81
.23
16
8.2
.24
[6180]-102
49