VTU Computer Science (Semester 7)
Programming the Web
December 2013
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1 (a) What is MIME? Explain his type specifications.
4 M
1 (b) Give the general form of HTTP request phase and also explain, in detail.
8 M
1 (b) Explain the different image formats, write XHTML document to illustrate use of (with all attributes).
8 M

2 (a) Explain the different levels of styles sheets are available in CSS.
4 M
2 (b) Crate XHTML document that contains student information viz name, usn, subject 1, subject 2 and subject 3. Insert values for each student in five lows. Also row background of each student should be in the different colour.
8 M
2 (c) Explain following tags, with example:
i) Select ii) Frame iii) Textarea iv) Div
8 M

3 (a) Explain the different primitive types in JavaScript.
6 M
3 (b) Write a JavaScript to validate the name, the name should be entered using prompt. The first and last name should note more than 10 characters and middle name must contain only initial. If so display validation corresponding name. The format is the first_name Second_lname third_name. Three should be be single white space between First_name Second_name and Third_name.
14 M

4 (a) Explain the different types of positioning elements, with example.
8 M
4 (b) Write XHTML and JavaScript script which has five buttons labelled five different colours. The even handler for these buttons must produce a message starting the chosen favourite colour. The even handler must be implemented as a function. Whose name must be assigned to the onclick attributes of the radio button element. The chosen colour must be sent to the event handler as a parameter use a onclick event to trigger a call to alert, which should display brief description of the selected colour.
8 M
4 (c) Explain Navigator object, with an example.
4 M

5 (a) What is DID? What are the main advantages of XML schema over DTD.
6 M
5 (b) Explain the three types that can be used to describe data in an element declaration, with an example each.
9 M
5 (c) How does an XSLT processor use an XSLT stylesheet with an XML document?
5 M

6 (a) Explain the different categories of a variable in Perl along, with an example.
9 M
6 (b) Write a Perl program to copy contents from one file to another.
4 M
6 (c) What is CGI? Explain CGI pm model, with an example.
7 M

7 (a) Explain any six string functions in PHP.
6 M
7 (b) With an neat diagram, explain logical internal structure of array in PHP.
4 M
7 (c) Write a PHP functions that reads contents from a file and write into a file.
6 M
7 (d) Explain the different types of scalar types are available in PHP.
4 M

8 (a) Discuss the different pattern matching operations are available in ruby with example each.
9 M
8 (b) Explain keyboard input and screen output in ruby.
4 M
8 (c) Explain with a neat diagram, directory structure of rails 1 application.
7 M



More question papers from Programming the Web
SPONSORED ADVERTISEMENTS