UNIT I :-
1. Compare extending Thread class and implementing Runnable interface.
2. Describe the main thread in Java with example.
3. Explain how multiple catch blocks work in Java.
4. Design a program demonstrating finally block execution.
5. Design a Java program to create two threads running simultaneously.
6. Explain thread life cycle with diagram.
7. Write a Java program to catch ArithmeticException.
8. Explain the purpose of try and catch blocks.
9. Design a Java program to accept two numbers and handle multiple exceptions.
10. Compare throw and throws with suitable examples.
11. Define exception handling in Java with suitable example.
12. Write a program to create a thread using Thread class.
13. Design a multithreading program where two threads print even and odd numbers.
14. Design a program to demonstrate exception handling with multiple exceptions.
15. Differentiate between process and thread.
UNIT II
1. Explain GridLayout with example and write a Java program using GridLayout.
2. Write a program demonstrating FlowLayout.
3. Explain the purpose of the JComponent class.
4. Describe BorderLayout with diagram and design a program demonstrating BorderLayout
with five buttons.
5. Describe layout manager in Java Swing.
6. List any four commonly used Swing components.
7. Differentiate between AWT and Swing components.
8. What are containers in Swing? Give examples.
9. Define delegation event model.
10. Explain the concept of adapter classes with examples and design a program using adapter
class for mouse events.
11. List any four features of Swing.
12. Design a simple student information form using Swing components.
13. Design a Swing application containing labels, text fields, and buttons.
14. Design a Swing calculator layout using GridLayout.
15. Explain the architecture and features of JFC with suitable example
Unit III
1. Explain JDBC architecture briefly.
2. Describe JColorChooser with example.
3. Write any three features of JTable.
4. Define JDBC and state its purpose.
5. Explain ResultSet in JDBC.
6. Compare Statement, PreparedStatement, and CallableStatement.
7. Differentiate between Statement and PreparedStatement.
8. Explain advantages of PreparedStatement over Statement.
9. List any two types of JDBC drivers.
10. Design a tabbed application using JTabbedPane with multiple panels and explain its uses
11. Compare JList and JComboBox.
12. Design a program using JScrollPane and JTextArea, and define JScrollPane with its use.
13. List any three advanced Swing controls.
14. Design a program showing use of JFileChooser and a Swing application using JTable to
display student data.
15. Design a Swing program combining JList and JComboBox.