Mary Matha College of Arts &
Science
INTERNAL EXAMINATION I -JAN 2026 Class: I [Link] (CS)
Marks: 50 DEPARTMENT OF COMPUTER SCIENCE Date : 9.1.2026
Duration: 2Hrs Advanced Java Programming Session: 10-12 PM
Part A - 9 x 1 = 9 (Answer All Questions)
1. Which component is responsible for handling events in Java GUI programming?
a) Container b) Layout Manager c) Event Listener d) Thread
2. Which package is primarily used for event handling in Java?
a) [Link] b) [Link] c) [Link] d) [Link]
3. Which method is used to start a thread execution in Java?
a) run() b) start() c) execute() d) init()
4. Which thread state indicates that a thread is temporarily inactive but eligible to run?
a) New b) Blocked c) Runnable d) Terminated
5. Which class is used to represent a URL in Java networking?
a) InetAddress b) Socket c) URL d) ServerSocket
6. Which protocol is used by Java networking for reliable data transmission?
a) UDP b) FTP c) TCP d) HTTP
7. Which Java package supports multimedia and media control features?
a) [Link] b) [Link] c) [Link] d) [Link]
8. Which class is commonly used for playing audio clips in Java?
a) AudioSystem b) Clip c) MediaPlayer d) SoundPlayer
9. Which exception is commonly thrown during remote method invocation failures?
a) IOException b) SQLException c) RemoteException d) ClassNotFoundException
Part B - 3 X 7 = 21 (Answer All Questions)
10. (a) Discuss the features of java and it’s types of applications.
(Or)
(b) Explain the Java event delegation model with a suitable example.
11. (a) Explain Java threading concepts and thread life cycle with a neat diagram.
(Or)
(b) Discuss socket programming in networking with a suitable example program.
12. (a) Describe the architecture and working principles of Java RMI.
(Or)
(b) Discuss the components of multimedia with examples.
Part C - 2X 10 = 20 (Answer Any two Questions)
13. Explain thread priority levels in Java and their effect on thread scheduling with an example.
14. Explain the client-server communication model in Java using Socket programming.
15. Explain the steps involved in loading, playing, and closing an audio file in Java.