Question Paper: Programming the Web : Question Paper Jun 2015 - Computer Science Engg. (Semester 7) | Visveswaraya Technological University (VTU)
0

Programming the Web - Jun 2015

Computer Science Engg. (Semester 7)

TOTAL MARKS: 100
TOTAL TIME: 3 HOURS
(1) Question 1 is compulsory.
(2) Attempt any four from the remaining questions.
(3) Assume data wherever required.
(4) Figures to the right indicate full marks.
1 (a) Explain the task of the DNS name server.(5 marks) 1 (b) Explain the request phase of the hypertext transfer protocol (HTTP).(6 marks) 1 (c) How lists are handled in XHTML? Design an XHTML code for illustrating nested list.(9 marks) 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 marks) 2 (b) Explain the different selector forms provided in CSS. Illustrate the use of each with suitable example.(12 marks) 3 (a) Describe briefly the 3 major uses of Javascript on the client side.(6 marks) 3 (b) Write a regular expression to validate the mail of the following type [email protected]<script data-cfhash="f9e31" type="text/javascript">/* /!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/ ]]> */</script> in a Javascript Function.(6 marks) 3 (c) Write a XHTML and javascript to return the leftmost vowel of the string.(8 marks) 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 marks) 4 (b) Write a javascript to compare two passwords.(4 marks) 4 (c) Explain the 3 phases of event processing in the DOM 2 event model.(6 marks) 5 (a) What are the disadvantages of DTD? What is XML schema? Explain defining a schema with example.(10 marks) 5 (b) What are the four possible parts of an attribute declaration in a DTD (Document Type Definitions).(4 marks) 5 (c) Briefly explain the purpose of XML processors.(6 marks) 6 (a) Explain the string functions in perl with example.(6 marks) 6 (b) Explain the query string format.(6 marks) 6 (c) Explain the CGI.pm module.(8 marks) 7 (a) Explain the overview of PHP.(4 marks) 7 (b) Explain the sort, assort and ksort array functions in PHP with examples.(8 marks) 7 (c) Explain the form handling in PHP for login form to clock it for successful login or not.(8 marks) 8 (a) Define class. Write ruby class to implement a stack-like structure in an array.(5 marks) 8 (b) Explain the overview of rails.(5 marks) 8 (c) Explain how to create a hello world example.(10 marks)

ADD COMMENTlink
written 23 months ago by gravatar for Team Ques10 Team Ques10410
Please log in to add an answer.