OOPusing Java MSE!

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

22MCA101 USN

NITTE MEENAKSHI INSTITUTE OF TECHNOLOGY


(AN AUTONOMOUS INSTITUTE AFFILIATED TO VTU, BELAGAVI)

I Semester Mid-Semester Examination MCA Degree (MSE-II)


Academic year 2024-2025
Department of Master of Computer Applications
Object Oriented Programming using JAVA (22MCA101)

Duration: 1 Hour Max. Marks:30


Instructions Section :
1. Q1 (6 Marks) & Q4 (4 Marks) - Compulsory questions. B
2. Q2 and Q3 Choice-based questions for 10 marks each.
3. Missing Data (if any) can be suitably assumed

Question Question
Marks CO; BL
No
Answer the following questions.
1. a. Describe the Event Class. 2 CO3/2
b. Describe the two key swing features in java. 2 CO4/2
c. Explain Swing in Java. 2 CO4/2
UNIT-III
2 a. Compare Java1.1 and earlier with modern way of suspending, resuming
6 CO3 /2
and stopping threads..
b. Build a simple application to create thread using different methods. 4 CO3 /3
OR
a. Analyze the importance of the main thread. How can we have control on CO3 /2
6
the main thread just like other child thread?
b. Develop a code to simulate Synchronization of threads in java using CO3/3
4
synchronized methods.
UNIT-IV
3 a. Implement any adapter class with listener interface in a simple program. 6 CO4 /3
b. Describe the Event Listener interface. Explain any 4 event listener CO4/2
4
interface with an example.
OR
a. Implement MouseMotionAdapter Class with MouseMotionListener in a CO4 /3
6
simple program
b. Explain the delegation event model with neat diagram. 4 CO4 /2

4 a. Compare and contrast AWT and Swing in java. 4 CO4/4


Faculty Signature HOD Signature

Page 1 of 1
Possession of any kind of written material, mobile/ electronics gadgets & scribbling on QP, amounts to
Malpractice

You might also like