0% found this document useful (0 votes)
36 views3 pages

Nov Dec 2023

The document discusses various topics related to advanced Java programming including ArrayList vs Vector, using different layouts like flow and radio buttons, working with databases using JDBC, prepared statements, RMI architecture and applications.

Uploaded by

Qwert Qwert
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views3 pages

Nov Dec 2023

The document discusses various topics related to advanced Java programming including ArrayList vs Vector, using different layouts like flow and radio buttons, working with databases using JDBC, prepared statements, RMI architecture and applications.

Uploaded by

Qwert Qwert
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Total No. of Questions : 8] SEAT No.

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

1) Solve question Q1 or Q2, Q3 or Q4, Q5 or Q6, Q7 or Q8.


2) Figures to the right indicate full marks.
E
81

8
C

3) Assume suitable data, if necessary.

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

b) Write a Java Program to Retrieve the Contents of a Table using JDBC


01
02

connection. [9]
2/2
GP

Table name : Employee


5/1
CE
81

Columns : emp_id, emp_name

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

b) What is a JDBC? Explain Types of JDBC Driver. [9]


49

9:4
30
30
01
02

Q5) a) Write a short note on: [9]


2/2
GP

i) RMI registry
5/1

ii) Naming and Directory services


CE
81

b) Write a simple RMI application in which the client invokes the method of
.23

the server. [9]


16
8.2

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

Java HttpURLConnection Class

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

b) Explain InetAddress Class and factory method. Write a Java program to


5/1

find the IP address of your machine. [9]


CE
81

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

You might also like