Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

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

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

Explain how PHP handles forms and connects to a MySQL database. Write a PHP script to insert and retrieve student records from a MySQL database.

phpmysql
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

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

json
5short5 marks

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

cookies
6short5 marks

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

wwwinternet
7short5 marks

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

html-tables-forms
8short5 marks

Explain different types of CSS selectors with examples.

css-selectors
9short5 marks

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

javascript-basics
10short5 marks

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

dom
11short5 marks

What is XSLT? Explain how XSLT is used to transform an XML document with an example.

xslt
12short5 marks

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

php-arrays