0% found this document useful (0 votes)
3 views2 pages

QP2214 Advanced Java

This document is an examination paper for an Advanced Java elective course, consisting of five questions that cover various topics such as session management, client/server architecture, database connectivity, servlet life-cycle methods, and AJAX. Each question requires students to answer two out of several options, with each question carrying equal marks. The paper includes instructions regarding the use of mobile devices and the importance of checking translations for accuracy.

Uploaded by

buglearning81
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

QP2214 Advanced Java

This document is an examination paper for an Advanced Java elective course, consisting of five questions that cover various topics such as session management, client/server architecture, database connectivity, servlet life-cycle methods, and AJAX. Each question requires students to answer two out of several options, with each question carrying equal marks. The paper includes instructions regarding the use of mobile devices and the importance of checking translations for accuracy.

Uploaded by

buglearning81
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Code No.

: 2214
ADVANCED JAVA (ELECTIVE)
Time : 2:30 Hours] [Maximum Marks : 50
NOTES :
i) Attempt all questions. Each question carries equal marks.
ii) Students are advised to specially check the Numerical Data of question paper in both versions. If there is any
difference in Hindi Translation of any question, the students should answer the question according to the English
version.
iii) Use of Pager and Mobile Phone by the students is not allowed.

Q1) Answer any two of the following: [2×5=10]

a) What is necessity of session management? How is it implemented?

b) Explain client/server architecture.

c) Explain J2EE architecture.

Q2) Answer any two of the following: [2×5=10]

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

b) 5
What are the differences among execute, executeQuery, and executeUpdate?
10

6
14
c) How can we execute stored procedures using CallableStatement?
_1

5.
22

.2
Q3) Answer any two of the following. [2×5=10]
W

71
D

a) What are the life-cycle methods for a servlet?


.1
L_

03
b) What is difference between GenericServlet and HttpServlet?
PO

|1

c) What is the purpose of RequestDispatcher Interface?


6
:5

Q4) Answer any two of the following: [2×5=10]


09

a) What are Cookies? What is difference between Cookies and HttpSession?


:
08

b) List the various action tags used in JSP.


22

c) What is Expression language in JSP? Explain various implicit objects in expression language.
- 20
06

Q5) Answer any two of the following: [2×5=10]


7-

a) What are the advantages of AJAX? What is the difference between synchronous and asynchronous requests?
|2

b) What is the purpose and properties of XMLHttpRequest?

c) What is the role of the callback function in AJAX?

F - 5265 1 (P.T.O.)
POL_DW22_1105 | 27-06-2022 08:09:56 | [Link]
2214
({hÝXr AZw d mX)

Zmo Q > : i) g^r àíZm| Ho$ CÎma Xr{O`o& à˶oH$ àíZ Ho$ A§H$ g‘mZ h¡&
ii) narjm{W©`m§o H$mo gbmh Xr OmVr h¡ {H$ do àíZ-nÌ Ho$ XmoZm§o AZwdmXmo§ _| gm§»`H$s` Am±H$‹S>m§o H$m {deof ê$n go {_bmZ H$a b§o& `{X {hÝXr AZwdmX Ho$
{H$gr àíZ _| {H$gr àH$ma H$s {^ÞVm h¡, Vmo narjmWu A§J«oOr AZwdmX Ho$ AZwgma àíZ H$m CÎma X§o&
iii) narjm{W©`m| Ûmam noµOa Am¡a _mo~mBb \$moZ H$m à`moJ AZw_Ý` Zht h¡&

à.
à.1) {ZåZ{b{IV ‘| go {H$gr Xmo àíZm| Ho$ CÎma Xr{OE& [2×5=10]
A) Session à~§YZ H$s ³¶m Amdí¶H$Vm h¡? Bgo H¡$go bmJy {H$¶m OmVm h¡?
~) Client/server architecture H$s ì¶m»¶m H$s{OE&

g) J2EE Architecture H$mo g‘PmBE&

à.
à.2) {ZåZ{b{IV ‘| go {H$gr Xmo àíZmo§ Ho$ CÎma Xr{OE& [2×5=10]
A) Java ‘| Am§H$‹S>m g§M¶ go connect H$aZo Ho$ H«$‘ ³¶m h¡?

~) execute, executeQuery Ed§ executeUpdate ‘| ³¶m A§Va h¢?


g) CallableStatement H$m Cn¶moJ H$aHo$ h‘ stored procedures H$mo H¡$go {Zînm{XV H$a gH$Vo h¢?
5
10

6
14
à.
à.3) {ZåZ{b{IV ‘| go {H$gr Xmo àíZm| Ho$ CÎma Xr{OE& [2×5=10]
_1

5.
A) Servlet Ho$ {bE OrdZ-MH«$ Ho$ methods ³¶m h¢?
22

.2
~) GenericServlet Ed§ HttpServlet ‘| ³¶m A§Va h¡?
W

71
g) RequestDispatcher Interface H$m CÔoí¶ ³¶m h¡?
D

.1
L_

03
PO

à.
à.4) {ZåZ{b{IV ‘| go {H$gr Xmo àíZm| Ho$ CÎma Xr{OE& [2×5=10]
|1

A) Cookies ³¶m h¢? Cookies Ed§ HttpSession ‘| ³¶m A§Va h¡?


6
:5

~) JSP ‘| à¶wº$ {d{^Þ action tags H$s gyMr ~ZmBE&


09

g) Oo Eg nr ‘| Expression ^mfm ³¶m h¡? Expression ^mfm ‘| {d{^Þ Implicit objects H$s ì¶m»¶m H$a|&
:
08

à.
à.5) {ZåZ{b{IV ‘| go {H$gr Xmo àíZm| Ho$ CÎma Xr{OE&
22

[2×5=10]
A) AJAX Ho$ ³¶m bm^ h¢? Synchronous Ed§ Asynchronous AZwamoYm| ‘| ³¶m A§Va h¡?
20

~) XMLHttpRequest H$m CÔoí¶ Ed§ JwU ³¶m h¡?


-
06

g) AJAX ‘| Callback ’$bZ H$s ³¶m ^y{‘H$m h¡?


7-
|2



F - 5265 2
POL_DW22_1105 | 27-06-2022 08:09:56 | [Link]

You might also like