Seat No.: ________ Enrolment No.
___________
GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER–VI • EXAMINATION – SUMMER 2013
Subject Code: 161602 Date: 04-06-2013
Subject Name: Web Technology & Programming
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 style sheet? Explain various ways to write style rules in CSS with 07
example.
(b) Explain following HTML tags with their important attributes. 07
i. <form>
ii. <frameset> and <frame>
iii. <img>
Q.2 (a) Write a HTML program to draw table shown below. 07
Also write CSS rules so that
1. table background is of RED color
2. Cell data is center aligned.
A B C
E F D
G H I
(b) Explain HTTP Request and HTTP Response mechanism over the Internet. 07
OR
(b) Write a note on secure connection over Internet. 07
Q.3 (a) Why java script is called Client side scripting? Explain advantages of java 07
script.
(b) Explain following java script functions. 07
1. alert() 2. prompt() 3. confirm()
OR
Q.3 (a) Create HTML form with one button having label “Click Me”. Also write 07
java script to show “You Clicked Me” message when a user clicks on
button.
(b) Explain various loop structures in java script with example. 07
Q.4 (a) Write and explain rules for well formed XML document. 07
(b) Write a note on web services. 07
OR
Q.4 (a) Write a note on DTD. 07
Q.4 (b) Write a note on Web feeds and Blogs. 07
Q.5 (a) Explain various types of arrays in PHP with examples. 07
(b) Create HTML form with one textbox to get user’s name. Also write PHP 07
code to show length of entered name when, the HTML form is submitted.
OR
Q.5 (a) Give differences between following. 07
i. GET versus POST ii. Cookie versus Session variable
(b) Create HTML form to enter one number. Write PHP code to display the 07
message about number is odd or even.
1