Question Bank: Graphical User Interfaces using
Swing, Layout Management, Event Handling, User
Interface Components, and Collections in Java
Unit 1: Graphical User Interfaces using Swing
[Link] Question Bloom’s Level Marks
1 What is Swing in Java? Remember 2-6
2 List any four features of Swing. Remember 2-6
3 Explain MVC pattern in Swing. Understand 2-6
4 Write a Java program to create a simple frame using JFrame. Apply 2-6
5 Compare AWT and Swing. Analyze 2-6
6 Design a login form using Swing that validates user input. Create 2-6
Unit 2: Layout Management
[Link] Question Bloom’s Level Marks
1 What is layout management? Remember 2-6
2 Describe FlowLayout and GridLayout. Understand 2-6
3 Write a program using BorderLayout to arrange buttons. Apply 2-6
4 Compare FlowLayout and GridLayout. Analyze 2-6
5 Design a responsive GUI layout combining multiple managers. Create 2-6
Unit 3: Event Handling
[Link] Question Bloom’s Level Marks
1 Define event handling and event listener. Remember 2-6
2 Differentiate semantic and low-level events. Understand 2-6
3 Write a program to handle button click events using ActionListener. Apply 2-6
4 Compare AWT and Swing event handling. Analyze 2-6
5 Develop an interactive drawing app with mouse drag events. Create 2-6
Unit 4: User Interface Components
[Link] Question Bloom’s Level Marks
1 List UI components in Swing. Remember 2-6
2 Explain use of JTextField and JTextArea. Understand 2-6
3 Create a menu with File, Edit, and Help options. Apply 2-6
4 Compare modal and modeless dialog boxes. Analyze 2-6
5 Design a registration form using menus and dialog boxes. Create 2-6
Unit 5: Collections Framework
[Link] Question Bloom’s Level Marks
1 What is the Java Collections Framework? Remember 2-6
2 Explain difference between List and Set. Understand 2-6
3 Write a program to demonstrate use of ArrayList. Apply 2-6
4 Compare HashSet and TreeSet. Analyze 2-6
5 Create a collection-based app that stores and sorts records. Create 2-6