Attempt any Eight questions.
[8*5=40]
4.
Describe HTTP Request and Response. [5]
5.
What is XMLHttpRequest Object? Write AJAX script to demonstrate use of XMLHttpRequest Object. [5]
6.
What are HTML form events? Write HTML script that prints some texts during onchange and onfocus event of some form elements. [5]
7.
Write internal CSS to illustrate the static, relative, and fixed position property of an HTML element. [5]
8.
Write HTML script to markup photo in an HTML document using figure tag. The source path of the photo is D:\\BIT\\CAMPUS.JPEG. Set the alternate text to 'BIT'. The caption of the figure should be 'This is the BIT Campus'. [5]
9.
What is Xquery? Given following XML, write an XQuery to retrieve the title of movies having budget greater than 500. Write result of the XQuery expression. [5] 10.
What is the use of XML? Why is it called extensible, justify with example. [5]
11.
How DTD is different from XSD? [5]
12.
How exception handling is done in JavaScript? Write a JavaScript program that will handle an exception when an input number is divided by zero. [5]