(a)Differentiate between multithreading and multitasking.
1
(b) Explain the thread life cycle with different states.
(a) Explain AWT components: Label, Button, and Checkbox.
2
(b) Explain any three layout managers: FlowLayout, BorderLayout, GridLayout.
(a) Explain any four Swing components (JButton, JLabel, JTextField, JCheckBox).
3
(b) Describe containers in Swing and explain JFrame and JComponent.
a) Differentiate between regular threads and daemon threads in Java. b) Describe the life
4
cycle of a thread in Java
(a) What are Annotations in Java?
5
(b) What is thread synchronization? Explain its need with an example.
a) Implement a Java program that utilizes the AWT class hierarchy to create a simple user
6 interface.
b) Discuss the handling of mouse events in Java.
(a) What are the limitations of AWT?
7
(b) Explain MVC architecture used in Swing.
a) Describe the Model-View-Controller architecture.
8
b) Compare the features of JApplet and JFrame in Java Swing.
ASSIGNMENT QUETIONS
Date of Submission : 02/04/2026