Gujarat Technological UniversityWinter 2024 examination

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

19 of 25 questions on this paper were also asked in other years. 1 more is a type 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
1)What is the purpose of the URL class in Java?
2)List out the important methods of HttpServletResponse.
3)What are the JSP action tags?
(b)
4 marks
1)What are the advantages of Hibernate over JDBC?
2)What are the three types of text field’s tags provided by JSF?
(c)
7 marksAsked in 4 of 7 papers
What is JDBC driver? Explain its role and compare various JDBC drivers.

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

Q.2

14 Marks
(a)
3 marks

What are the differences between a TCP socket and UDP socket? How are they created in Java?

(b)
4 marksAsked in 5 of 7 papers
Demonstrate the use of ServletConfig and ServletContext.

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

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

How do you handle multiple clients concurrently in socket programming? Explain with example.

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

(c)
7 marksAsked in 6 of 7 papers
What is Session? Compare different session management techniques.

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

Q.3

14 Marks
(a)
3 marksAsked in 3 of 7 papers
What is the use of PreparedStatement? How will you use it?

Also asked in Summer 2026 Q2b, Summer 2023 Q3a

(b)
4 marksAsked in 3 of 7 papers
What is filter? How will you configure filter using deployment descriptor?

Also asked in Summer 2026 Q3b OR, Summer 2023 Q3b

(c)
7 marksAsked in 3 of 7 papers
What is Java Bean? Demonstrate the use of JSP bean in web application.

Also asked in Summer 2026 Q3c, Summer 2023 Q3c

(a)
3 marksAsked in 5 of 7 papers
What is the use of CallableStatement? How will you use it?

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

(b)
4 marksAsked in 2 of 7 papers
What is FilterConfig? How will you use it?

Also asked in Summer 2023 Q3a OR

(c)
7 marksAsked in 3 of 7 papers
What is JSTL? Explain the core tags of the SQL tag library.

Also asked in Summer 2026 Q4c, Summer 2023 Q4c OR

Q.4

14 Marks
(a)
3 marksAsked in 2 of 7 papers
What are the benefits of using JSF Framework?

Also asked in Winter 2025 Q5b OR

(b)
4 marksAsked in 4 of 7 papers
How will you use validator tags in JSF?

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

(c)
7 marksAsked in 2 of 7 papers

What are the cookies? Demonstrate the use of cookies in servlet for session management.

Also asked in Winter 2023 Q3c OR

(a)
3 marksAsked in 5 of 7 papers
Explain the use of RequestDispatcher in servlet.

Also asked in Summer 2026 Q3c OR, Summer 2025 Q5a, Summer 2024 Q1c, Summer 2023 Q2c

(b)
4 marksAsked in 2 of 7 papers
Write a code snippet to show the use of JSF action event.

Also asked in Summer 2023 Q4a OR

(c)
7 marksAsked in 3 of 7 papers
Explain JSP inbuilt objects with their use in application.

Also asked in Summer 2026 Q4a OR, Summer 2025 Q3b

Q.5

14 Marks
(a)
3 marksAsked in 2 of 7 papers
What is the advantage of using Spring Framework?

Also asked in Summer 2026 Q5a

(b)
4 marksAsked in 2 of 7 papers

What do you understand by Dependency Injection? How do we implement it using Spring Framework?

Also asked in Summer 2024 Q5a OR

(c)
7 marks
What are the different Hibernate interfaces? Explain their role in brief.
(a)
3 marks
What is Hibernate SessionFactory and how to configure it?
(b)
4 marksAsked in 2 of 7 papers
Show the use of some important annotations for Hibernate mapping.

Also asked in Winter 2023 Q5a

(c)
7 marksAsked in 3 of 7 papers
Explain the flow of Spring Web MVC.

Also asked in Summer 2024 Q5c, Winter 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 2024, 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