Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

Explain the structure of an HTML5 document. Discuss the different ways of applying CSS (inline, internal, external) with examples and explain the CSS box model.

htmlcss
2long10 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
3long10 marks

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

xml-schema
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

Explain arrays in PHP. Differentiate between indexed, associative and multidimensional arrays with examples.

php-arrays
5short5 marks

Explain user-defined functions in PHP with examples of passing arguments by value and by reference.

php-functions
6short5 marks

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

url-dns
7short5 marks

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

get-post
8short5 marks

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

ajax
9short5 marks

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

web-servers
10short5 marks

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

json
11short5 marks

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

cookies
12short5 marks

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

wwwinternet