VTU Computer Science (Semester 7)
Programming the Web
May 2016
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 standard XHTML document structure.
6 M
1(b) What is Web server? Describe its general characteristics.
6 M
1(c) Explain with an example the following tags:
i) <a> ii)<img> iii)<meta> iv)<pre>
8 M

2(a) Explain syntactic differences between HTML and XHTML.
6 M
2(b) Explain various selector forms with an example.
6 M
2(c) Develop a comcplete XHTML document with proper headings, a table with four rows and three columns, a form with two labels, two textbox three checkbox, three radio buttons, a submit and a reset button. (Assume suitable content for the web page).
8 M

3(a) Describe differences between primitives and objects in Javascript.
4 M
3(b) With an example, explain the following:
i) document-write ii) alert iii) confirm iv) prompt.
8 M
3(c) Write a XHTML document containing Javascript function to compute the median of an array of numbers with at least two different data sets.
8 M

4(a) Explain the navigator object with an example.
7 M
4(b) Explain the following positioning elements with example.
i) Absolute positioning
ii) Relative positioning.
6 M
4(c) Explain element visibility with an example.
7 M

5(a) With respect to XML schemas, explain complex types.
7 M
5(b) Explain XSLT processing with an example.
7 M
5(c) Describe XML namespace and their definitions syntax.
6 M

6(a) Explain for each statement in Perl with an example.
4 M
6(b) Explain Rembering matching with an example.
5 M
6(c) Explain any five CGI-pm functions.
5 M
6(d) Describe built-in list functions in Perl.
6 M

7(a) Describe logical internal structure of an array in PHP.
5 M
7(b) Explain any five commonly used string functions in PHP
5 M
7(c) Create a XHTML document with PHP to display the number, square root, square, cube and quadruple using sqrt and pow functions. (The output should contain 10 number).
10 M

8(a) Explain with an example any four built-in methods for arrays and lists in ruby.
8 M
8(b) Explain directory structure of rails application.
6 M
8(c) Describe simple input and output in ruby with an example.
6 M



More question papers from Programming the Web
SPONSORED ADVERTISEMENTS