Seat No.
: _____
Enrolment No.______
GUJARAT TECHNOLOGICAL UNIVERSITY
B E Sem-VI Examination May 2011
Subject code: 161602
Subject Name: Web Technology and Programming
Date:23/05/2011
Time: 10.30 am 01.00 pm
Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1
(a) What is HTTP? How do browser and server communicate using HTTP 07
request and response? Explain with example.
(b) What is HTML table? Explain table element with necessary attributes. 07
Give the code to print following table.
Q.2
(a) What do you mean by meta tags? What are their purposes? Explain the 07
different meta tags.
(b) What is frame set? Explain the use of frame set in web site design with 07
proper example.
OR
(b) What do you mean by class and id in CSS? Show the use of external 07
CSS with example.
Q.3
(a) What do you mean by event in JavaScript? Give at least two examples of
events with their handling.
(b) Write a JavaScript program to print first N odd numbers divisible by 7.
OR
(a) Answer the following questions with respect to JavaScript.
1. Give the different purpose for which JavaScripts are used.
2. Writing user defined objects in JavaScript.
(b) Write an HTML form accepting an integer having 4-digits. Provide
necessary validations using JavaScript. Input should not accept characters.
07
(a) Answer the following questions.
1. Difference between HTML and XHTML
2. How can you write DTD?.
(b) Explain the following.
1. Web feeds
2. Associate arrays in PHP
07
Q.3
Q.4
07
07
07
07
OR
Q.4
(a) What is XML? Give its elements and explain its use with example.
(b) Write a PHP program to make the sum of first 100 odd numbers.
07
07
Q.5
Q.5
(a) What is CGI? How does it work? How do web server and CGI program
communicate?
(b) Explain the Web programming using PERL with proper example.
OR
(a) Write PERL programs for
1. Printing first N odd numbers
2. Reverse an integer number
(b) Explain the form processing in PERL with simple example.
07
07
07
07
*************