Gujarat Technological UniversityWinter 2023 examination

GTU 3160707 Advanced Java Programming (AJT) Winter 2023 Question Paper & PDF

B.E. · Computer Engineering · Semester 6 · Subject code 3160707
Download official PDFView PDF here
Share with your class
Total
70 marks
To pass
23 marks (33%)
Duration
2.5 Hours 2:30 PM – 5:00 PM
Questions
5 with internal choice
No solutions on this paper yetNeed them for your exam? Ask once. Papers that students ask for are solved first, and we aim to add them within 24 hours.

13 of 25 questions on this paper were also asked in other years. 3 more are types of question GTU sets again with new data. Each is marked below with the years it appeared.See all 43 repeated 3160707 questions, most asked first

Q.1

14 Marks
(a)
3 marks
Explain the usage of Socket class with example.
(b)
4 marksAsked in 3 of 7 papers
Differentiate Statement and PreparedStatement.

Also asked in Summer 2025 Q5a OR, Summer 2024 Q1b

(c)
7 marksAsked in 4 of 7 papers
Explain JSP Action tags with example.

Also asked in Summer 2026 Q3b, Winter 2025 Q4c, Summer 2025 Q3c OR

Q.2

14 Marks
(a)
3 marks
What is HTTP? Explain any two HTTP request methods in detail.
(b)
4 marks
Explain scripting elements of JSP.
(c)
7 marksSame type asked in 5 of 7 papers
Write a program in which client sends string from its standard input to the server.

The server reads the string, finds number of words, characters and digits of received string and sends result back to client. Use connection-oriented communication.

Also asked in Summer 2026 Q1c, Winter 2025 Q2c, Winter 2025 Q2c OR, Winter 2024 Q2c, Summer 2024 Q2c, Summer 2024 Q2c OR

(c)
7 marks

Write a JDBC Program for Employee Management application in which Consider Employee table with attributes Emp_ID, EmpName, Phone and Address, and perform followings:

i)Insert multiple records using prepared statement.
ii)Display all the records in reverse order.

Q.3

14 Marks
(a)
3 marksAsked in 5 of 7 papers
Discuss the use of CallableStatement.

Also asked in Winter 2025 Q2b, Winter 2024 Q3a OR, Summer 2024 Q3c, Summer 2023 Q3b OR

(b)
4 marks
Differentiate attributes and parameters of servlet.
(c)
7 marksSame type asked in 2 of 7 papers
Write a servlet code for login application using database connectivity.

Also asked in Summer 2024 Q3c OR

(a)
3 marks
Explain the lifecycle of filter.
(b)
4 marksAsked in 3 of 7 papers
Compare JSP with Servlet.

Also asked in Summer 2025 Q2a, Summer 2024 Q3a OR

(c)
7 marksAsked in 2 of 7 papers

What is Session Management in servlet? Write a servlet application that demonstrates the use of cookie.

Also asked in Winter 2024 Q4c

Q.4

14 Marks
(a)
3 marks
What is difference between JSTL tag and action tag?
(b)
4 marks
Explain any four JSTL function tags with example.
(c)
7 marksAsked in 4 of 7 papers
Explain the JSF request processing life cycle.

Also asked in Summer 2026 Q4c OR, Summer 2024 Q4c OR, Summer 2023 Q4c

(a)
3 marks
What is faces-config.xml? Explain it with code.
(b)
4 marksAsked in 4 of 7 papers
List the JSF standard validator tags and explain any three in detail.

Also asked in Summer 2026 Q4b, Winter 2024 Q4b, Summer 2024 Q5b OR

(c)
7 marksSame type asked in 2 of 7 papers

Write a JSP application for student registration application using database connectivity. of

Also asked in Summer 2023 Q3c OR

Q.5

14 Marks
(a)
3 marksAsked in 2 of 7 papers

List the Hibernate annotations and explain any two Hibernate annotations in detail.

Also asked in Winter 2024 Q5b OR

(b)
4 marksAsked in 5 of 7 papers
What is ORM? Explain object/relational mappings in hibernate.

Also asked in Summer 2026 Q5b OR, Summer 2025 Q5c OR, Summer 2024 Q5a, Summer 2023 Q5b OR

(c)
7 marksAsked in 3 of 7 papers
Explain the architecture of Spring web MVC.

Also asked in Winter 2024 Q5c OR, Summer 2024 Q5c

(a)
3 marksAsked in 2 of 7 papers
Compare Hibernate and JDBC.

Also asked in Summer 2025 Q4c

(b)
4 marksAsked in 2 of 7 papers
Explain Spring bean life cycle.

Also asked in Summer 2025 Q5b

(c)
7 marksAsked in 6 of 7 papers
Explain Hibernate Architecture.

Also asked in Summer 2026 Q2c OR, Winter 2025 Q5c, Summer 2025 Q5b OR, Summer 2024 Q5c OR, Summer 2023 Q5c

More Advanced Java Programming papers

Questions repeat across sessions. Working through two or three papers shows you which topics GTU asks most.

Preparing with friends?

Send this paper to your class group. Every question has its own link.

About this paper

Official Gujarat Technological University (GTU) examination paper for Advanced Java Programming (AJT) (Winter 2023, B.E. · Computer Engineering, Sem 6). Features complete 70-mark regular & remedial examination pattern, official marking distribution across all 5 questions, and direct 1-click official PDF download.

Transcribed for student exam preparation from Gujarat Technological University official examination archives. Questions, syllabus guidelines, and curriculum marking schemes remain the intellectual property of Gujarat Technological University.

ViewDownload PDF