Unit 1: Introduction
Define web clients and web servers with examples.
Describe client server architecture with its types.
Difference between Static and Dynamic website.
Describe the WWW, web client and web server.
Differentiate Web 1.0 from Web 2.0.
What are the services provided under web 2.0?
What is HTTP protocol? Define HTTP Request and Response.
Unit 2: Hyper Text Markup Language
Write a HTML script using audio tag. Set the autoplay, preload and loop properties to appropriate values.
Write HTML script to demonstrate the onkeydown and onkeypress events.
Create an HTML page containing three paragraphs p1, p2 and p3 with some contents. Write internal CSS to set the position of p1 to relative, p2 to float and p3 to absolute.
Write an HTML script to create a table with three rows and three columns. The second row third column should contain a text “TU” with link set to www.tu.edu.np.
What is onload event in HTML? Write an HTML script that displays alert message “Hello Nepal” in onload event.
Write HTML script to create HTML form and perform validation using JavaScript.
Create a registration form with Name, Country, Gender and submit button which display message “Registered” on keypress event.
Write HTML script to generate ordered and unordered lists.
Create an HTML page containing a div with canvas element and set its height and width.
Create a HTML page with tags header, article and footer and insert mail link using meta tag.
Why inline frames are used? Create a HTML page containing iframe within a paragraph.
Unit 3: Cascading Style Sheets
Define CSS. What is the use of CSS shadow effects?
How internal and external CSS differ from each other.
Explain CSS box model.
What is text-overflow property in CSS? How can you use clip and ellipsis?
What is word-wrap property in CSS?
How positioning of HTML elements can be done using CSS?
How web pages can be made responsive using media queries?
Describe CSS Box model with example.
Unit 4: Client Side Scripting with JavaScript
Write a HTML script with proper JavaScript that will take input from prompt box and display output using alert box.
What is the use of alert box? Write a JavaScript program to show the use of RegExp object.
How can you define array in JavaScript? Create an array Fruit and print it.
How HTML elements are accessed using getElementById and getElementByTagName.
How can you create objects in JavaScript?
Write JavaScript function for validating form elements.
How can you handle cookies in JavaScript?
What is the use of JSON? How can you parse JSON?
Discuss about different JSON data types.
Unit 5: AJAX and XML
What is the use of XML? Create XML file with complex type elements and write equivalent XSD.
Describe the rules for creating XML document and write its equivalent XSD.
Write the structure of XML file with example and DTD.
Compare XML Schema with DTD.
How can you transform XML document into HTML using XSLT?
What is XML Namespace?
What is XMLHttpRequest object? Write HTML script with AJAX.
What is DTD? Create a XML file and write its equivalent DTD.
Unit 6: Server Side Scripting using PHP
Write a PHP program to demonstrate inheritance.
Write a PHP program to show insertion of multiple data into a database table.
Create a PHP form and perform form validation.
Write a PHP program to create class and object.
Write a PHP function to add two numbers.
Define cookie. Write PHP program to create and retrieve cookie.
How can you handle session in PHP?
Write PHP program to insert and select value to and from database.
How database connection is created in PHP?
How can you define array in PHP?
How can you define function in PHP?
Miscellaneous / Cross-Chapter Questions
What is jQuery selector? Explain jQuery callback and chaining effects.
What is jQuery animate? Explain with example.
How jQuery animate can be used to create custom animation?
How jQuery id selector can be used to select specific element?