10
oe
10 a
Module-5
a. What are HTTP cookies? How do you handle them in PHP? (08 Marks)
b. Why is state is a problem for web applications? Explain (08 Marks)
oR
What does $() short and stand for in JQuery? Explain any 3 JQuery form selectors.
(08 Marks)
b. Write DTD for the following XML code,
<2XML version = “1.0” encoding = "ISO — 8859 —
title> Balcony Manet/name>
Franice 1868 oil on canvas (08 Marks)
Module-5
With suitable PHP scripts, explain creating and reading Cookies. (04 Marks)
With suitable examples, explain four basic jQuerry selectors, (06 Marks)
With suitable script, explain loading and processing an XML document in JavaScript.
(06 Marks)
oR
With suitable PHP scripts, explain checking session existence and accessing session state.
(06 Marks)
With suitable scripts, explain AJAX GET requests and POST requests. (06 Marks)
With suitable code segments, explain converting a JSON string to JSON object in JavaScript
and a PHP object in PHP. (04 Marks)
‘What are cookies? What is the purpose of i? Demonstrate cookies with PHP program.
(08 Marks)
b. Discuss jQuery selectors in detail (08 Marks)
oR
a. Discuss the following
(i). Session cookies (il) Persistent cookies (iii) Session state (08 Marks)
b. With a neat diagram explain SOAP and RESET web services (08 Marks)