VTU Computer Science (Semester 7)
Programming the Web
June 2015
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) Explain the task of the DNS name server.
5 M
1 (b) Explain the request phase of the hypertext transfer protocol (HTTP).
6 M
1 (c) How lists are handled in XHTML? Design an XHTML code for illustrating nested list.
9 M

2 (a) Design an XHTML code for the following shown in Fig Q2.
    Fruit Juice
    Apple Grape Orange
Diet Breakfast 00 00 01
Lunch 01 00 00
Dinner 00 01 00
8 M
2 (b) Explain the different selector forms provided in CSS. Illustrate the use of each with suitable example.
12 M

3 (a) Describe briefly the 3 major uses of Javascript on the client side.
6 M
3 (b) Write a regular expression to validate the mail of the following type [email protected] in a Javascript Function.
6 M
3 (c) Write a XHTML and javascript to return the leftmost vowel of the string.
8 M

4 (a) Write a XHTML document to display the content 'WEB PROGRAMMING' which continuously moves back and forth across the top of the display.
10 M
4 (b) Write a javascript to compare two passwords.
4 M
4 (c) Explain the 3 phases of event processing in the DOM 2 event model.
6 M

5 (a) What are the disadvantages of DTD? What is XML schema? Explain defining a schema with example.
10 M
5 (b) What are the four possible parts of an attribute declaration in a DTD (Document Type Definitions).
4 M
5 (c) Briefly explain the purpose of XML processors.
6 M

6 (a) Explain the string functions in perl with example.
6 M
6 (b) Explain the query string format.
6 M
6 (c) Explain the CGI.pm module.
8 M

7 (a) Explain the overview of PHP.
4 M
7 (b) Explain the sort, assort and ksort array functions in PHP with examples.
8 M
7 (c) Explain the form handling in PHP for login form to clock it for successful login or not.
8 M

8 (a) Define class. Write ruby class to implement a stack-like structure in an array.
5 M
8 (b) Explain the overview of rails.
5 M
8 (c) Explain how to create a hello world example.
10 M



More question papers from Programming the Web
SPONSORED ADVERTISEMENTS