End Term Part I Examination December - 2018 COURSE: B. Tech. (CSE) Semester: 5 PAPER NAME (Paper Code) : JAVA PROGRAMMING (0500536)
End Term Part I Examination December - 2018 COURSE: B. Tech. (CSE) Semester: 5 PAPER NAME (Paper Code) : JAVA PROGRAMMING (0500536)
Note: Attempt Five Questions and at least one question from each Section. All Question Carry Equal
Marks.
Section A
Section B
Q3. What is exception handling? Write a java program to handle exception using nested try catch.
Q4. Explain thread life cycle. Write a java program to create 3 threads and print their status.
Section C
Q5. Explain Java Socket programming in detail. Write a java program to create tcp socket and create
client server communication.
Q6. Explain spring framework and its architecture in detail.
Section D
Section E
Q9. What are the fundamental steps to connect a java program with database? Explain with an
example.
Q10. What is the use of layout manager in java? Explain various types of layout managers in
detail and their use.
Note: Attempt Five Questions and at least one question from each Section. All Question Carry Equal
Marks.
Section A
Q1. What are the applications of java? Explain various features of java.
Q2. What are wrapper classes? Why do we need wrapper classes?
.
Section B
Q3. What do you mean by packages? What are the usages of Java packages? Explain creation
and use of package with an example.
Q4.What is exception handling? Write a java program to handle exception using nestedtry
catch.
Section C
Q5. What is datagram? Write a java program to create a datagram and use it in communication.
Q6. Explain spring framework and its architecture in detail.
Section D
Q7. Explain J2EE architecture in detail. How will you provide security to your j2ee project?
Q8. Explain servlet and its types in detail.
Section E
Q9.Explain thread life cycle. Write a java program to create 3 threads and print theirstatus.
Q10. What are the fundamental steps to connect a java program with database? Explain with
an example.
Note: Attempt Five Questions and at least one question from each Section. All Question Carry Equal
Marks.
Section A
Section B
Q3. What is the basic difference between the 2 approaches to exception handling.
1. try catch block and
2. specifying the candidate exceptions in the throws clause?
When should you use which approach?
Q4. What is exception handling? Write a java program to handle exception using nested try
catch.
Section C
Q5. What is the Applet Life Cycle? Also explain the various methods available in applet
class? Write a java program to play an audio file.
Q6. Explain spring framework and its architecture in detail.
Section D
Q7. What are the fundamental steps to connect a java program with database? Explain with
an Example
Q8. Explain J2EE architecture in detail. How will you provide security to your j2ee project?
Section E
Q9. Explain Java Socket programming in detail. Write a java program to create tcp socket
and create client server communication
Q10. a) What are wrapper classes? Why do we need wrapper classes.
b) What is the main difference between a String and a StringBuffer class.