Answer any 5 Questions, at least 2 from each part, each question carries 10 marks.

paltryboarpigSoftware and s/w Development

Nov 3, 2013 (3 years and 8 months ago)

67 views

M.S.R.Institute of Technology, Dept of MCA,

IV semester
I
I Test, Subject: JAVA (MCAE01)

Max Marks:
5
0




Date:0
1
/0
6
/09





Duration :1:30 Hrs.






Answer any 5 Questions, at least 2 from each part, each question carries 10 marks.

PART
A

1.

Write a
JAVA

program
using Threads,
which
demonstrates Producer Consumer concept.

2.

Explain the following with
JAVA Program

a.

Wrapper Classes

b.

Autoboxing and Unboxing

3.

What are Generics?
Write

a
JAVA Program

of a Generic class which uses 2 type parameters.

4.

What is Cloning?
W
rite a JAVA Program to demonstrate it
.

5.

What is Collection Frame Work?
Write a JAVA Program which uses

Linked List Class.




M.S.R.Institute of Technology, Dept of MCA,

IV semester
I
I Test, Subject: JAVA (MCAE01)

Max Marks:
5
0




Date:0
1
/0
6
/09




Durat
ion :1:30 Hrs.



Answer any 5 Questions, at least 2 from each part, each question carries 10 marks.








PART
A

1.

Write a
JAVA

program
using Threads,
which
demonstrates Producer Consumer concept.

2.

Explain the following with JAVA Program

a.

Wrapper Classes

b.

Auto
boxing and Unboxing

3.

What are Generics? Write a JAVA Program of a Generic class which uses 2 type parameters.

4.

What is Cloning? Write a JAVA Program to demonstrate it.

5.

What is Collection Frame Work? Write a JAVA Program which uses Linked List Class.




M.S.R
.Institute of Technology, Dept of MCA,

IV semester
I
I Test, Subject: JAVA (MCAE01)

Max Marks:
5
0




Date:0
1
/0
6
/09



Duration :1:30 Hrs.





Answer any 5 Questions, at least 2 from each part, each question carries 10 marks.

PART
A

1.

Write a
JAVA

program

using Threads,
which
demonstrates Producer Consumer concept.

2.

Explain the following with JAVA Program

a.

Wrapper Classes

b.

Autoboxing and Unboxing

3.

What are Generics? Write a JAVA Program of a Generic class which uses 2 type parameters.

4.

What is Cloning? Write a
JAVA Program to demonstrate it.

5.

What is Collection Frame Work? Write a JAVA Program which uses Linked List Class.




M.S.R.Institute of Technology, Dept of MCA,

IV semester
I
I Test, Subject: JAVA (MCAE01)

Max Marks:
5
0




Date:0
1
/0
6
/09



Duration :1:
30 Hrs.





Answer any 5 Questions, at least 2 from each part, each question carries 10 marks.


PART
A

1.

Write a
JAVA

program
using Threads,
which
demonstrates Producer Consumer concept.

2.

Explain the following with JAVA Program

a.

Wrapper Classes

b.

Autoboxing and
Unboxing

3.

What are Generics? Write a JAVA Program of a Generic class which uses 2 type parameters.

4.

What is Cloning? Write a JAVA Program to demonstrate it.

5.

What is Collection Frame Work? Write a JAVA Program which uses Linked List Class.


PART
B

1.

What is Ser
ialization? Write a JAVA Program to demonstrate it.

2.

Write a JAVA Program that uses Datagram Socket for Client Server Communication.

3.

What are Adapter Classes? Write a JAVA Applet that uses MouseMotionAdapter and
MouseAdapter Classes.

4.

Explain RMI with a JAVA

Program.

5.

Write a Swing Application which uses

a.

JTabbed Pane

b.

Each Tab should use JPanel, which includes any one component given below in each Panel

ComboBox

/
List

/ Tree / Radiobutton

c.

All the above Components should Listen to their respective any one even
t and print
appropriate message.




PART
B

1.

What is Serialization? Write a JAVA Program to demonstrate it.

2.

Write a JAVA Program that uses Datagram Socket for Client Server Communication.

3.

What are Adapter Classes? Write a JAVA Applet that uses MouseMotionAda
pter and MouseAdapter
Classes.

4.

Explain RMI with a JAVA Program.

5.

Write a Swing Application which uses

a.

JTabbed Pane

b.

Each Tab should use JPanel, which includes any one component given below in each Panel

ComboBox

/
List

/ Tree / Radiobutton

c.

All the above Com
ponents should Listen to their respective any one event and print
appropriate message.




PART
B

1.

What is Serialization? Write a JAVA Program to demonstrate it.

2.

Write a JAVA Program that uses Datagram Socket for Client Server Communication.

3.

What are Adapter

Classes? Write a JAVA Applet that uses MouseMotionAdapter and MouseAdapter
Classes.

4.

Explain RMI with a JAVA Program.

5.

Write a Swing Application which uses

a.

JTabbed Pane

b.

Each Tab should use JPanel, which includes any one component given below in each Panel

ComboBox

/
List

/ Tree / Radiobutton

c.


All the above Components should Listen to their respective any one event and print
appropriate message.





PART
B

6.

What is Serialization? Write a JAVA Program to demonstrate it.

7.

Write a JAVA Program that uses D
atagram Socket for Client Server Communication.

8.

What are Adapter Classes? Write a JAVA Applet that uses MouseMotionAdapter and MouseAdapter
Classes.

9.

Explain RMI with a JAVA Program.

10.

Write a Swing Application which uses

d.

JTabbed Pane

e.

Each Tab should use JPa
nel, which includes any one component given below in each Panel

ComboBox

/
List

/ Tree / Radiobutton

f.


All the above Components should Listen to their respective any one event and print
appropriate message.