Dr.
Akhilesh Das Gupta Institute of Professional Studies
FC-26, Shastri Park, Shahdara, New Delhi-110053
DEPARTMENT OF INFORMATION TECHNOLGY
Assignment No. 3 (Based on UNIT 3)
Subject Name: Programming in Java Subject Code: CIC 212
Q1. Explain in brief:
a.) Differentiate - sleep(t), suspend(), wait()
(CO3)
b.) notify() and notify All() (CO3)
c.) Thread Synchronization (CO3)
d.) Differentiate Adapter Classes and Listener Interfaces
(CO3)
Q2 . Why do we need to apply synchronization in java programs? Give
suitable examples
Q3. Discuss different types of Layout Managers in Java.
(CO3)
Q4. Explain Delegation Event Model with example. (CO3)
Q5. Discuss life cycle of a thread.
(CO3)
Q6 Design a GUI that takes following inputs from user- “Name, Age, Marital Status,
Gender, Address, Hobbies, Employee ID, Company Name” using AWT. As User
clicks the “Submit” Button all the fields should get blank. (CO3)