You are on page 1of 2

Roll No.

I •

Total No. of Questions: 09 Total No. of Pages: 02


M.SC.IT (Sem.-4)
ADVANCED JAVA PROGRAMMING
Subject Code: MSIT-401
Paper ID: 74113
Time: 3 Hrs. Max. Marks: 60

INSTRUCTIONS TO CANDIDATES:
1. Section A, B, C and D attempt any ONE question and each question carries TEN marks.
2. Section E is COMPULSORY consisting of TEN questions carrying TWO marks each.

SECTION A

1.

m
What do you mean by concurrent processes? Explain the Thread class and Runnable
interface.

o
.r c
2. How can we handle deadlocks in java threads? Explain the suspend ( ), resume( ) and stop( )
methods with the help of a programming example.

p e
SECTION B

o m
.r c
3. Write a short not on Input Stream hierarchy and Output Stream hierarchy.

4.

p a
Explain Serialization and security in Serialization.

b r SECTION C

p e
5.

a
Explain java's database connectivity and prepared statements with the help of suitable
example

6.
rp
Illustrate the use of Annotations and how can we write a user defined Annotations?

SECTION Db
7. What are generics? Explain and illustrate the advantages of generics.

8. Explain Java Beans. Also write short not on each of the following:
Property Descriptor, Event Descriptor, and Method Descriptor.

| M74113 Page 1 of 2
SECTION E
9.
a) How can we set thread priority in java?
b) What are semaphore variables?
c) Write a short note on Marker Annotations.
d) Explain is Alive( ) method in detail.
e) What are Callable Statements?
f) Explain Java's Scanner class.
g) Write a short note on Locking mechanisms.
h) What are Wild Card Arguments in Generics?
i) What are the overheads associated with Multithreaded programming?
j) Explain Demon Threads.

o m
.r c m
p e o
p a .r c
b r p e
a
b rp

| M74113 Page 2 of 2

You might also like