Bachelors Level/Third Year/Fifth Semester/Science csit/fifth semester/web technology/syllabus wise questions

B.Sc Computer Science and Information Technology

Institute of Science and Technology, TU

Web Technology (CSC329)

Year Asked: 2082, syllabus wise question

AJAX and XML
1.
What is the use of XML? Create an XML file having complex type elements containing other elements and text. At least one element should contain an attribute. Similarly, there should be elements containing string, integer and date type values. Now write the equivalent XSD for the XML. [10]
Cascading Style Sheets
1.
Define CSS. What is the use of CSS shadow effects? Write an HTML script with proper CSS as per the following description. Display a text content "CSIT Exam" in a div with id div1. The text should have a horizontal shadow of 3px and a vertical shadow of 2px. The shadow color should be green. Also set the horizontal and vertical shadow of the div to 10px respectively with the shadow color of div to blue. [10]
2.
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. [5]
Client Side Scripting with JavaScript
1.
What are jQuery selectors? Explain jQuery callback and chaining effects with appropriate jQuery scripts. [10]
2.
Write an HTML script with proper JavaScript that will take an input from prompt box and display the input as output using the alert box. [5]
3.
What is the use of alert box? Write a JavaScript program to show the use of RegExp object. [5]
Hyper Text Markup Language
1.
Write an HTML script using audio tag. Set the autoplay, preload and loop properties to appropriate values. [5]
2.
Write an HTML script to demonstrate the onkeydown and onkeypress events. [5]
Introduction
1.
Define web clients and web servers with examples. [5]
Server Side Scripting using PHP
1.
Write a PHP program to demonstrate the concept of inheritance. [5]
2.
Write a PHP program to show insertion of multiple data into a database table. [5]
3.
Create a PHP form with form elements. Write a program to perform form validation. Use your own assumptions for the validation. [5]