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

End Term Part I Examination December - 2018 COURSE: B. Tech. (CSE) Semester: 5 PAPER NAME (Paper Code) : JAVA PROGRAMMING (0500536)

This document outlines an end term Java programming examination for a 5th semester B.Tech computer science course. It includes 10 questions across 5 sections (A-E). The exam is 3 hours long and students must attempt 5 questions with at least 1 from each section. All questions are worth equal marks. The questions cover topics like OOP principles, wrapper classes, exception handling, threads, sockets, Spring framework, servlets, database connectivity, and layout managers.

Uploaded by

Jyoti Totla
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views

End Term Part I Examination December - 2018 COURSE: B. Tech. (CSE) Semester: 5 PAPER NAME (Paper Code) : JAVA PROGRAMMING (0500536)

This document outlines an end term Java programming examination for a 5th semester B.Tech computer science course. It includes 10 questions across 5 sections (A-E). The exam is 3 hours long and students must attempt 5 questions with at least 1 from each section. All questions are worth equal marks. The questions cover topics like OOP principles, wrapper classes, exception handling, threads, sockets, Spring framework, servlets, database connectivity, and layout managers.

Uploaded by

Jyoti Totla
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

END TERM PART I EXAMINATION DECEMBER -2018

COURSE: B. Tech.(CSE) Semester: 5th


PAPER NAME(Paper Code): JAVA PROGRAMMING (0500536)
MAX MARKS: 70 TIME: 3:00 HRS

Note: Attempt Five Questions and at least one question from each Section. All Question Carry Equal
Marks.
Section A

Q1. a) Explain OOP’s principles in detail.


b) What is java byte codes and JVM? Explain in detail.
Q 2. a) What are wrapper classes? Why do we need wrapper classes.
b) What is the main difference between a String and a StringBuffer class.

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

Q7. Explain servlet and its types in detail.


Q8. Differentiate the following:
a) Normal java object and ejb
b) httpsession and stateful session

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.

END TERM PART I EXAMINATION DECEMBER -2018


COURSE: B. Tech.(CSE) Semester: 5th
PAPER NAME(Paper Code): JAVA PROGRAMMING (0500536)
MAX MARKS: 70 TIME: 3:00 HRS

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.

END TERM PART I EXAMINATION DECEMBER -2018


COURSE: B. Tech.(CSE) Semester: 5th
PAPER NAME(Paper Code): JAVA PROGRAMMING (0500536)
MAX MARKS: 70 TIME: 3:00 HRS

Note: Attempt Five Questions and at least one question from each Section. All Question Carry Equal
Marks.

Section A

Q1. What are wrapper classes? Why do we need wrapper classes?


Q2. What is java byte codes and JVM? Explain in detail.

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.

You might also like