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

7.AJP Question Bank

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)
41 views3 pages

7.AJP Question Bank

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

SAL Institute of Diploma Studies

Department of Information Technology

Advanced Java Programming (4351603)

Question Bank
Year: 2024-2025

Prepared By:
Ms. Dhara Dhruva
Sr. No. Questions Marks CO
Unit 1 Java Swing
1. Explain features of Java Foundation Classes (JFC).(W-2023) 3 COa
2. Draw and explain swing class hierarchy.(W-2023) 4 COa
3. List out Various Layout Managers? Explain any one with Example.(W- 4 COa
2023)
4. Differentiate Between Flowlayout and GridLayout. 3 COa
5. Explain Border Layout.(S-2024) 3 COa
6. Explain the difference between AWT and Swing(S-2024) 3 COa
7. Explain any two Swing controls with example.(W-2023) 7 COa
8. List out Event Classes. Explain any one Event Class with examples. 7 COa
9. List out Event Listener Interface. Explain any one Event Listener 7 COa
Interface with an example.(S-2024)

Unit 2 Java Data Base Connectivity


1. Write a brief note on Three-Tier Database Design. 3 COb
2. Explain the components of the JDBC API.(W-2023) 4 COb
3. What is JDBC Connection? Explain steps to get Database connection 7 COb
using a java program.
4. Explain different types of Resultset in JDBC. 3 COb
5. Give Advantages and disadvantages of JDBC. (S-2024) 3 COb
6. List JDBC Drivers. Explain JDBC-Net Pure Java Drivers (Type-4). (S- 4 COb
2024)
7. How to install hibernate IDE and implement O/R mapping in hibernate. 3 COb
8. Explain Hibernate Architecture in detail. 4 COb

Unit 3 Servlet
1. Explain Servlet life cycle.(W-2023) 3 COc
2. Explain how servlet applications work and List various features of 3 COc
Servlet.(W-2023)
3. Write steps to create a Servlet in JAVA. 3 COc
4. What is HTTP/Servlet Technology? Describe HTTPServlet class with its 3 COc
methods with Suitable Example.
5. Explain web.xml file in servlet. (W-2023) 7 COc
6. Difference: 7 COc
a) Explain the difference between get and post method in servlet.(S-
2024)
b) Difference between Applet and Servlet.
7. Write Servlet to read parameters using doPOST() method. 4 COc
8. Write a Servlet to read & display parameters using doGET() method. 4 COc

Unit 4 Java Server Pages


1. List the JSTL core tags and explain any two with example.(W-2023) 4 COd
2. Explain the life cycle of JSP.(W-2023) 3 COd
3. Explain difference between JSP and Servlet.(W-2023) 3 COd
4. Explain page directive in JSP.(W-2023) 4 COd
5. Explain JSP declaration tag with an example.(W-2023) 4 COd
6. List out all Implicit object in JSP and explain any two.(W-2023, S-2024) 7 COd

Unit 5 Web MVC Framework


1. Explain MVC Architecture.(W-2023). 4 COe
2. Explain Dependency Injection and and Plain Old Java Object (POJO) (W- 3 COe
2023,S-2024).
3. Explain Spring Framework Architecture. 4 COe
4. Comparison between Spring and Spring Boot.(W-2023) 3 COe
5. Explain Aspect-oriented programming (AOP).(S-2024) 3 COe

Important Programs
1. Develop a Java Swing program for a counter application having 7 COa
"Increment" and "Decrement" buttons with initial count of 0 displayed in
the label. When "Increment" is clicked, the count increases by 1, and
when "Decrement" is clicked, the count decreases by 1. A message dialog
should be displayed when the counter goes below 0.(W-2023)
2. Create a Swing application with a menu bar containing a "File" menu 7 COa
having menu items "New", "Open", and "Exit". When the user clicks
"Exit", the application should close. Add keyboard shortcuts for file menu
items. Also add a "Help" menu having menu item "About". Display a
message box which shows description of this program when ‘About’ is
clicked.(W-2023)
3. Create a JSP program that acts as a simple calculator. The program should 7 COd
have a HTML form with two textboxes where users can input numbers
and a dropdown menu to select an operation (addition, subtraction,
multiplication, or division). When the user submits the form, the entered
numbers and the chosen operation should be sent to the next page. On the
next page, the program should calculate the result based on the chosen
operation and display it.(W-2023)
4. Develop a simple program, when user select the subject code, name of the 7 COc
subject will be displayed using servlet and mysql database.(S-2024).

You might also like