Pieese teso Erolment No mmedaneh Enroimet No
MiD TERM EXAMINATION
B.TFCH MLDAAIML(SPECIALUZATION)
6 Semester. April. 2024
PaperCode: CIE-306T
Sobject: Advance Java Prugramming
Time:1%Hrs Max. Merks: 30
Vote: Artempt 0.No.1 hich is compulsory and any two more questions from remaining.
Question Max. COs)
Marks
(a) Explain Java Beans API 2 CO-1
1
IWrite short noteon Local and Renote Intesface 2 CO-2
c) What is Multithreading? 2 CO-I
AWite short note JMS/Queue. CO-I
e) Java does not support Multiple
Inheitance. Justify the statement CO-1
What is Socket Programming? Write aprogram to illustrate the CO-12
client server combination.
(b) Define and explain the concepi of multithreading. Also explain CO-1
the life cycle of athread.
3 (a) Define introspection and explain different ways of implemening CO-12
introspection for å bean class.
(b) Write a program in Servlet; accept username and password, if i C0-2
matches show the hello message. Otherwise make go to login page
with error message.
4 (a) Write a short note on persistence. State and explain EJB container 5 CO-2
services.
(b) Explain the difference between applet and application. Explain the CO-1
usage of applet and how they are different from Java Programming CO-2
4 3
Question
NoQ.
.
CIE-N3ote061T/
: TimFe:SD-P1%
aHpers3,C18Tode: Please
List b.
a.Describe C.
a.Wb. client
hat Explain
Socket?
What
b is . k. b. :.
Server
stateless Explain Explain
methods Explain request
client?toWhat
Explain Why List How
Attempt rite1
and are are any does Q. TECH
your
remembers the Mul tiple
protocol
explain Servlet the Bean the the why four Java No. i
1, Enrol1ment
life types sequences Beannotis which
Writing
purposes server unchecked
Inheritance PROGRAMMES
EXAMINATION
TERM
MID
Describe support immediatelyNo. )N
then thCycle
e of is
aarchitecture an
a
clientfeatures EJB, conipulsory
with of process interaction
of communication?
o1 VI
introspection different stepexception. inter
is Marks:
Mux.30 Semester,
Subjcet:
over Servlet. life thread
reference of using Not (UNDERTUE
cycle by for
Applet? and
Internet. HTTP with Supportedin
example? types cach Advanced Aprll
suitable of the ny
to
protocol. EJB in request fwo
cookies java help of 2024
block and socket nore Java
bean.? of from Java? AEGS
IfHTTP
explain its program. Progrunnumg-
questions
diagram? various in
java each USICT) OFEnrolment No
how is http
remaining
rom
a
SUCSTESD)
{5] 3](2) 12| (2| {2) Marks Max.
( (Co2 CO(s)
iC02 K03 CO3 CO3 CO1 01
(Please write your Enrolment1 No.
imme
SUPPLDEMENTARYdiately) EXAMINATION
Enrolment No.
MID
B.TECH(MLDAIAIMLE
I TERM
(SPECIALIZATION)
h
P'aper Code: CIE-306T Semesier May, 2024
Time: 1%Hs, Subject: Adyance Java ProgrAMming
Max, Marks: 30
Note: Artempt Q.No.1 which is
commpulsOry and any two more questions from remaining.
QNo.
(a) Explain Java BeansS
Question Max.
Marks
CO(s)
(b) Write short note on wwriting process. CO-1
(c) What is
Multithreadine? Local and Remote Interface 2 C0-2
a) Write short note JMS/Queue. 2 C0-1
ie)
Differentiate between Java Bean and Jaya Class
2
2
CO-|
CO-1
(a) What is Socket
client server combination. Programming? Write aa program to illustrate the CO-1/2
(b) What are the
advantages ISP over competing
of
Explain the lifecycle of JSP. technologies? CO-1
(a) Define
introspection and explain
introspection for abean class. different ways of implementing CO-1/2
(b) Write a program in Servlet;
accept usemame and password, ifit
matches show the hello message. Othervise make go to login page
CO-2
with error message.
(a) Explain different methods present in
Servlet Request and Servlet S C0-2
Response Interfaces.
(b) Explain the difference between applet and
application.
usage of applet and how they are different from Java Explain the C0-1
Programming CO-2
Exam Roll No.
(Please write your Exam Roll No.)
END TERM EXAMINATION
JUNE 2024
SIxTH SEMESTER B.TECH) Programming
Paper Code: CIE-306T Subject: Advanced Java
FSD-3 18T Maximum Marks: 75
Time: 3 Hours
Attempt fve question tn all including Q. No l which is compulsory.
Note: each unit.
Select one question from
Q1 All Question are compulsory advanced java. (5)
(a) Differentiate between core java and (5)
types of cookies in servlets.
(b) State and explain the features of JSP. (5)
(c List out and explain the (5)
than Servlet.
(d) How JSP is more advantageousand how it is related to ORM tool. (5)
(e Explain Hibernate framework
UNIT-I socket
program to demonstrate the concept of
Q2 (a) Write a java (6.5)
programming.
and hierarchy of applets. (6)
(b) Discuss the advantages, disadvantages
server with basic
Explain the basic steps of implementing a
Q3 (a) methods used in each step.
(6.5)
demonstrate the concept of applets. (6)
(b) Write a progran in java to
UNIT-II
example. (6.5)
Q4 (a) Explain the lifecycle of a servlet with an (6)
demonstrate the use of Java Beans.
(b) Write a java program to
diagram of each type. (12.5)
Q5 Discuss the types of Java Beanswith a
UNIT-III
diagram. (12.5)
Q6 Explain the lifecycle of a JSP page with a
with example. (12.5)
Q7 Illustrate about any five implicit objects of JSP
UNIT-IV
an example of each step.
Q8 Discuss the steps to write a RMl program with (12.5)
Hibernate framework and also
Q9 Draw the architecture diagram of (12.5)
explain its elements.
*****t******