Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

Differentiate between DTD and XSD. Write an XSD schema for an XML document describing a list of books.

xml-schema
2long10 marks

Explain cookies and sessions in PHP. Write a PHP script that uses sessions to manage user login state.

php-sessions
3long10 marks

What is XML? Create an XML document to describe a "weather report" with appropriate elements and attributes, and write an equivalent DTD for it.

xmldtd
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

What is AJAX? Explain how AJAX enables asynchronous communication between the client and the server.

ajax
5short5 marks

Explain the role of a web server. Differentiate between static and dynamic web pages.

web-servers
6short5 marks

What is JSON? Differentiate between JSON and XML for data exchange.

json
7short5 marks

What are cookies? Explain how cookies are created and read in a web application.

cookies
8short5 marks

Differentiate between the Internet and the World Wide Web. Explain the client-server architecture of the web.

wwwinternet
9short5 marks

Explain HTML tables and forms with examples of the common form elements.

html-tables-forms
10short5 marks

Explain different types of CSS selectors with examples.

css-selectors
11short5 marks

Explain JavaScript data types, operators and control structures with examples.

javascript-basics
12short5 marks

What is the Document Object Model (DOM)? Explain how JavaScript is used to manipulate the DOM.

dom