0% found this document useful (0 votes)
19 views

JAVA (4th) May2019

abcd

Uploaded by

copy paste
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

JAVA (4th) May2019

abcd

Uploaded by

copy paste
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Roll No. Total No.

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.

6. a) Explain different types of JDBC drivers.

b) Explain about Establishing the Database Connection.

SECTION-D

7. Describe Annotations. Explain about the creation of user defined Annotations.

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

9. Write short notes on following with help of example/diagram if needed :

a) Explain threads in Java.

b) What is synchronization and why is it important?

c) What state does a thread enter when it terminates its processing?

d) What is difference between object oriented programming language and object based
programming language?

e) Java is fully Object oriented language or not? Why?

f) What are the steps to connect to the database in Java?

g) Discuss Atomic variables and Locks.


o m
h) Write note on Annotations.
.r c
p e
i) What are the advantages of Annotations?
m
a o
.r c
j) Write the use of exception handling in java.

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

You might also like