May Jun 2024
May Jun 2024
8
23
PB3827 [Total No. of Pages : 2
ic-
[6262]-89
tat
T.E. (E & TC/Electronics Engineering)
0s
ADVANCED JAVA PROGRAMMING
6:1
(2019 Pattern) (Semester - II) (304195 C) (Elective - II)
02 91
9:3
Time : 2½ Hours] [Max. Marks : 70
0
40
4/0 13
Instructions to the candidates:
1) Solve question Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.
0
2) Figures to the right side indicate full marks.
5/2
.23 GP
Q1) a) What are AWT component? Explain some AWT component. [9]
8
C
23
b) Write a program which stores the list of strings in an ArryList and then
ic-
16
tat
8.2
0s
OR
.24
6:1
Q2) a) Explain about Sets, Sequence, and Map. [9]
91
49
9:3
b) Develop a GUI which accepts the information regarding the marks of all
30
40
Q3) a) Explain the execution of SQL commands while handling the database.[8]
4/0
CE
82
8
23
.23
OR
ic-
16
tat
Q4) a) What is Prepared Statement? Write a Java Program to insert Student
8.2
0s
Name and Branch Name into Student table using Prepared Statement.[8]
.24
6:1
b) Write a program to insert and retrive the data from the database using
91
49
9:3
JDBC. [9]
30
40
01
02
Q5) a) Explain the various method of registering and gaining access to the remote
5/2
GP
object? [9]
4/0
b) What is RMI? Explain with neat diagram the RMI Architecture. [9]
CE
82
OR
.23
16
8.2
.24
P.T.O.
49
[6262]-89 1
Q6) a) Write a short note on: [9]
8
23
i) RMI Registry
ic-
tat
ii) Naming and Directory Services
0s
b) Develop an RMI application which accepts a string or a number and
6:1
checks that string or number is palindrome or not. [9]
02 91
9:3
0
40
Q7) a)
4/0 13
Write a short note on: [8]
0
5/2
.23 GP
i) Java.net package
ii) Cookies
E
82
8
C
23
b) Write a program to create a simple calculator application using servlet.[9]
ic-
16
OR
tat
8.2
0s
Q8) a) What is servlet? Explain with neat diagram Life cycle of a Servlet. [8]
.24
6:1
91
b) Explain InetAddress Class and factory method. Write a Java program to
49
9:3
find the IP address of your machine. [9]
30
40
01
02
5/2
GP
4/0
CE
82
8
23
.23
ic-
16
tat
8.2
0s
.24
6:1
91
49
9:3
30
40
01
02
5/2
GP
4/0
CE
82
.23
16
8.2
.24
49
[6262]-89 2