Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

What is Swing? Explain the benefits of using Swing components over AWT. Write a GUI program using Swing components to find the sum and difference of two numbers.

swinggui
2long10 marks

Explain the life cycle of a servlet in detail. Create a simple servlet that reads and displays the data (username and password) submitted from an HTML form.

servlet
3long10 marks

What is JDBC? Discuss the different types of JDBC drivers. Write a program to connect to a database and insert a record using JDBC.

jdbcdatabase
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

Discuss any three event classes in Java with examples.

event-handling
5short5 marks

What is a layout manager? Explain BorderLayout and FlowLayout.

layout
6short5 marks

What is a socket? Differentiate between TCP socket and UDP socket.

socket
7short5 marks

Explain the delegation event model in Java.

event-handling
8short5 marks

What is RMI? Explain the RMI architecture layers.

rmi
9short5 marks

Write short notes on JavaBeans.

javabeans
10short5 marks

How do you handle exceptions in JDBC? Explain with an example.

jdbc
11short5 marks

What is a session in servlets? How is session tracking done?

servletsession
12short5 marks

Differentiate between Statement and PreparedStatement.

jdbc