Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Other

ADVANCE JAVA PROGRAMMING (6th SEM)

Rating
-
Sold
-
Pages
4
Uploaded on
09-03-2023
Written in
2022/2023

A question bank from where you can get insight of which questions are getting repeated in GTU.

Institution
Course

Content preview

QUESTION BANK


Sr.No. TOPIC:1 Java Networking [CO-1] Marks

How do you get the IP address of a machine from its
1 1
hostname? (WINTER 2022)
What are the differences between a TCP socket and UDP
2 3
socket? How are they created in Java? (WINTER 2022)
3 Compare Socket with ServerSocket. (SUMMER 2022) 3
5 Explain the usage of InetAddress class. (WINTER 2021) 3
Write a program in which client sends string from its standard
input to the server. The server reads the string, converts the
6 7
string into upper case and sends back to client. Use
connection-oriented communication. (WINTER 2021)
Sr.No. TOPIC – 2 : JDBC Programming [CO-1] Marks
What is connection URL? How do you make a database
1 connection? Explain various ways to make the database 7
connection using JDBC code snippets. (WINTER 2022)
What is JDBC driver? Explain its role and compare various
2 7
JDBC drivers. (WINTER 2022)
What is the use of PreparedStatement? How will you use it?
3 3
(WINTER 2022)
What is the use of CallableStatement? How will you use it?
5 3
(WINTER 2022)
Explain the use of Prepared Statement with appropriate
6 7
example. (SUMMER 2022)
7 Compare the types of JDBC drivers? (SUMMER 2022) 4
Explain the use of PreparedStatement and CallableStatement
8 4
with example. (WINTER 2021)
Write a JDBC program for banking application in which
consider bank table with
attributes AccountNo, CustomerName, Phone and Address,
9 and perform 7
followings:
1. Insert two records using prepared statement.
2. Display all the records. (WINTER 2021)
Discuss the use of execute(), executeUpdate() and
10 3
executeQuery() methods. (WINTER 2021)

Sr.No. TOPIC – 3 : Servlet API and Overview [CO-2] Marks

List out the important methods of HttpServletResponse.
1 1
(WINTER 2022)
What do you mean by session tracking? What are the session
2 tracking 7
techniques? Demonstrate any of them. (WINTER 2022)
3 Differentiate ServletConfig and ServletContext. (WINTER 2022) 4

Written for

Institution
Course

Document information

Uploaded on
March 9, 2023
Number of pages
4
Written in
2022/2023
Type
OTHER
Person
Unknown

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
piyushjani

Get to know the seller

Seller avatar
piyushjani GUJARAT TECHNOLOGICAL UNIVERSITY
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions