Gujarat Technological UniversityWinter 2025 examination

GTU 3160707 Advanced Java Programming (AJT) Winter 2025 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.

12 of 25 questions on this paper were also asked in other years. 2 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
Describe the concept of JDBC.
(b)
4 marks

Write a Web application using servlet to find whether entered number is Prime or not.

(c)
7 marksAsked in 4 of 7 papers

List the different types of JDBC drivers and explain type3 driver with its advantages and disadvantages.

Also asked in Summer 2025 Q2c, Winter 2024 Q1c, Summer 2024 Q2b

Q.2

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

What are the components of URL? Describe the use of URL class with an example.

Also asked in Summer 2026 Q1a, Summer 2024 Q1a

(b)
4 marksAsked in 5 of 7 papers
Explain CallableStatement with example.

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

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

Write a client server program using TCP where client sends two numbers and server responds with the sum of them.

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

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

Write a client server program using TCP where client send number and server respond reverse of given number.

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

Q.3

14 Marks
(a)
3 marksAsked in 6 of 7 papers
What is session? List the different ways to manage the session.

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

(b)
4 marksAsked in 3 of 7 papers
Disuss servlet life cycle methods.

Also asked in Summer 2025 Q3a, Summer 2024 Q3b OR

(c)
7 marksAsked in 5 of 7 papers
Explain use of ServletConfig and ServletContext object with example.

Also asked in Summer 2026 Q2a, Winter 2024 Q2b, Summer 2024 Q3a, Summer 2023 Q2b

(a)
3 marks
How MVC architecture is better than conventional approach?
(b)
4 marksAsked in 4 of 7 papers
List and Explain various stages of JSP life cycle.

Also asked in Summer 2026 Q1b, Summer 2025 Q3b OR, Summer 2024 Q3b

(c)
7 marks

Write a Web application using servlet to find the sum of all the digits of an input integer.

Q.4

14 Marks
(a)
3 marks
Define the init() method of a servlet.
(b)
4 marks

Write a servlet to display the name and age of a person received as parameters.

(c)
7 marksAsked in 4 of 7 papers
List out JSP Action Tags and explain it.

Also asked in Summer 2026 Q3b, Summer 2025 Q3c OR, Winter 2023 Q1c

(a)
3 marks
How the GET method different from the POST method?
(b)
4 marks
What is filter? List out the application of the filter.
(c)
7 marks

Write a Web Application using JSP to get an integer N (where N>0) and display all the prime number up to N.

Q.5

14 Marks
(a)
3 marks
Discuss JSP Exception Handling.
(b)
4 marksAsked in 2 of 7 papers
List out JSF HTML tags and explain any two.

Also asked in Summer 2025 Q4c OR

(c)
7 marksAsked in 6 of 7 papers
Draw the Hibernate Architecture diagram and explain each part in brief.

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

(a)
3 marks
Explain any three Spring form tags with example.
(b)
4 marksAsked in 2 of 7 papers
What is JSF? List and explain its features.

Also asked in Winter 2024 Q4a

(c)
7 marksAsked in 2 of 7 papers
Explain the steps to develop the Hibernate web application.

Also asked in Summer 2026 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 2025, 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