Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

Describe the Java event handling mechanism with appropriate examples. Write a Swing GUI program that implements a simple calculator with buttons for basic arithmetic operations.

event-handlingswing
2long10 marks

What is a servlet? Explain the servlet life cycle and develop a servlet-based login application that validates credentials against a database.

servletjdbc
3long10 marks

Explain distributed programming in Java. Discuss RMI architecture and write a complete RMI program for a remote string-reversal service.

rmi
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

Differentiate between AWT and Swing components.

swing
5short5 marks

Explain any three Swing layout managers.

layout
6short5 marks

What is the use of the ResultSet interface in JDBC?

jdbc
7short5 marks

Explain the structure of an HTTP request and response in servlets.

servlet
8short5 marks

What is the difference between TCP and UDP socket programming?

socket
9short5 marks

Describe the role of web.xml in a servlet application.

servlet
10short5 marks

Explain scriptlets, expressions, and declarations in JSP.

jsp
11short5 marks

What is the purpose of the rebind() method in RMI?

rmi
12short5 marks

Write short notes on exception handling in JDBC.

jdbc