JAVA (4th) May2019
JAVA (4th) May2019
of Pages : 02
Total No. of Questions : 09
M.Sc. (IT) (2015 Onwards) (Sem.–4)
ADVANCED JAVA PROGRAMMING
Subject Code : MSIT-401
M.Code : 74113
Time : 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
1. SECTIONS-A, B, C & D contains T WO questions each carrying T EN marks each
and students have to attempt any ONE question from each SECT ION.
2. SECTION-E is COMPULSORY consisting of T EN questions carrying T WENT Y
marks in all.
SECTION-A
1.
m
What is an IO stream? What is the necessity of two types of streams – byte streams and
character streams? Explain.
o
2. .r c
What is meant by Stream and what are the types of Streams and classes of the Streams?
p e SECTION-B
m
a o
3.
p .r c
How can we create a Thread in Java? What are different states in lifecycle of Thread?
r
How does thread communicate with each other?
4.
b p e
What is Lock interface in Java Concurrency API? What are its benefits over
synchronization?
p a
SECTION-C
b r
5. What is JDBC? What is the use of JDBC? Explain with suitable examples.
SECTION-D
8. a) What are Java Beans? Give example. What is the serializable class in Java Beans?
1|M - 7 4 1 1 3 (S6)-266
b) What are the properties of Java Beans? How to control serialization in Java Beans?
SECTION-E
d) What is difference between object oriented programming language and object based
programming language?
r p
b p e
p a
b r
NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any
page of Answer Sheet will lead to UMC against the Student.
2|M - 7 4 1 1 3 (S6)-266