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: 2080, syllabus wise question

AJAX and XML
1.
How XML is different from HTML? Write XML script to create XML document containing element Person having sub elements Age, Name and Pincode. Write equivalent XSD for validating restrictions on the elements as the Age should be between 10 and 20, the Name should be only accepting either Ram or Shyam and the pincode should be 3 digit. [10]
2.
What is XML? Why is it called extensible? Mention the use of XML. [5]
3.
What is XMLHttpRequest object? Write HTML script with AJAX showing the use of XMLHttpRequest object. [5]
Cascading Style Sheets
1.
How can you define position property for specifying specific positioning of an HTML element? Write internal CSS to illustrate position of an HTML div. [5]
Client Side Scripting with JavaScript
1.
What is chaining in jQuery? Write a script to illustrate concept of chaining using slideUp and slideDown method. [5]
Hyper Text Markup Language
1.
Write HTML script to create HTML form as below and perform form validation using JavaScript. The validation should be as; the username should be of length at least 4 and is required. The password should start with a character and end with # and is required. The country and gender should be checked.
question image
[10]
2.
What are HTML keyboard events? Write a script to display a message 'Hello world' on keypress event. [5]
3.
How HTML elements are accessed using getElementById and getElementByTagName, illustrate using HTML script. [5]
Introduction
1.
Describe the WWW, web client and web server. [5]
Server Side Scripting using PHP
1.
Write a server side script in PHP to illustrate inserting and selecting values to and from database table. Create required connection using your own assumptions. [10]
2.
Write a PHP program that includes a function that will take two strings as input argument and print concatenation of two strings. [5]
3.
How can you handle session in PHP? [5]