Answer ALL questions.
PART A – (10 ´ 2 = 20 Marks)
1. What is delegation event model?
2. Which method is used to set a priority for a thread? List out its priorities.
3. Differentiate Stack and Vector.
4. Define Ordered structure wit example.
5. What is serialization?
6. What do you mean by socket programming?
7. List out the differences between ODBC and JDBC.
8. Write two examples for Multimedia databases.
9. What is the difference between Swing and AWT?
10. Write the importance of JAR file?
PART B – (5 ´ 60 = 80 marks)
11. (a) Write java application program for generating 4 threads to do the following
(i) getting n numbers
(ii) printing even numbers
(iii) printing odd numbers
(iv) printing average of a numbers. (4 ´ 4 = 16)
(b) Explain the following classes and methods in detail with example.
(4 ´ 4 = 16)

(i) InetAddress
(ii) Multicast Socket
(iii) Inet Address get By Name( )
(iv) getport ( )
12. (a) Explain the following Interfaces in detail with their methods.
(i) List
(ii) Sorted Set
(iii) Tree Set (5 + 5 + 6)
(b) Write a java application to get n numbers and print them in the order using
Heap sort procedure. (16)
13. (a) Explain the content handler and protocol handler in detail with corresponding
classes, methods and examples (16)
(b) (i) Define java beans (2)
(ii) List out the advantages of java beans (4)
(iii) List out the steps that involved creating a new bean. Explain each
steps in detail. (10)
14. (a) (i) Write note a bout multimedia databases and its principles in detail. (8)
(ii) Discuss the importance of database supports in web applications in detail
with suitable example. (8)
(b) (i) How to connect a database into Java application? Explain it with simple
application. (10)
(ii) Write note on database search. (6)
15. (a) How to create a JAR file? Explain the jar command with it’s all option in
detail with suitable example. (16)
(b) (i) Write the similarities and dissimilarities between swing and AWT. (6)

(ii) Write swing application to create and display the label containing both
icon and string. (10)

To top