Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

Explain the HTTP protocol. Describe the structure of an HTTP request and HTTP response message with the common HTTP methods and status codes.

http
2long10 marks

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

xml-schema
3long10 marks

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

php-sessions
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

Explain the structure of a URL and the role of DNS in resolving domain names.

url-dns
5short5 marks

Differentiate between the GET and POST methods of submitting form data.

get-post
6short5 marks

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

ajax
7short5 marks

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

web-servers
8short5 marks

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

json
9short5 marks

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

cookies
10short5 marks

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

wwwinternet
11short5 marks

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

html-tables-forms
12short5 marks

Explain different types of CSS selectors with examples.

css-selectors