0% found this document useful (0 votes)
13 views2 pages

Advanced Java Programming: JDBC, Networking, AWT

The document outlines questions for an Advanced Java Programming course, focusing on JDBC, Network Programming, and AWT. It includes both 5-mark and 8-mark questions that cover topics such as JDBC architecture, network protocols, and AWT components. The questions are designed to assess understanding and practical application of Java programming concepts.

Uploaded by

Harini Kannan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

Advanced Java Programming: JDBC, Networking, AWT

The document outlines questions for an Advanced Java Programming course, focusing on JDBC, Network Programming, and AWT. It includes both 5-mark and 8-mark questions that cover topics such as JDBC architecture, network protocols, and AWT components. The questions are designed to assess understanding and practical application of Java programming concepts.

Uploaded by

Harini Kannan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

ADVANCED JAVA PROGRAMMING - 5 & 8 MARKS QUESTIONS

UNIT III – JDBC (Java Database Connectivity)

5 MARKS QUESTIONS
1. Explain JDBC architecture with diagram.

2. Write the steps to establish a JDBC connection.

3. Explain different types of JDBC drivers.

4. Discuss PreparedStatement and its advantages.

5. Explain SQLException handling with an example.

8 MARKS QUESTIONS
1. Write and explain a Java program to connect to a database and retrieve records.

2. Explain JDBC architecture and driver types in detail.

3. Describe JDBC classes and interfaces with suitable examples.

4. Explain the role of Connection, Statement, and ResultSet interfaces in database


programming.

UNIT IV – Network Programming

5 MARKS QUESTIONS
1. Explain the difference between TCP and UDP.

2. Write short notes on DatagramSocket and DatagramPacket.

3. Explain the steps to create a TCP client and server.

4. Describe the role of URL and URLConnection classes.

5. Explain RMI architecture briefly.

8 MARKS QUESTIONS
1. Write a Java program for client-server communication using TCP sockets.

2. Explain the working of RMI with advantages and architecture.

3. Describe socket programming in Java with an example.

4. Explain network programming components and their uses in Java.


UNIT V – AWT (Abstract Window Toolkit)

5 MARKS QUESTIONS
1. Explain AWT class hierarchy.

2. Describe the various layout managers in AWT.

3. Write short notes on AWT components (Button, Label, TextField).

4. Explain the event delegation model in AWT.

5. Discuss the role of event listeners in GUI applications.

8 MARKS QUESTIONS
1. Write a Java program to create a login form using AWT controls.

2. Explain event handling in AWT with examples.

3. Describe the layout managers in AWT with diagrams.

4. Design and explain a simple GUI application using AWT components.

You might also like