0
885views
Programming the Web : Question Paper Jun 2014 - Computer Science Engg. (Semester 7) | Visveswaraya Technological University (VTU)
1 Answer
0
3views

Programming the Web - Jun 2014

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 HTTP and also explain web servers operation and general server characteristics.(8 marks) 1 (b) Explain MIME type specification in request / response transaction. Give the syntactic difference between HTML and XHTML.(8 marks) 1 (c) Discuss the following tags with syntax and example: i) ii) <meat></meat>(4 marks) 2 (a) What are selector forms? Explain the different types of selector forms with example.(8 marks) 2 (b) Write document level style sheet to illustrate pseudo clauses. Discuss the conflict resolution in CSS.(8 marks) 2 (c) Create an XHTML document that includes at least two images and enough text to precede the images, flow around them (one on left and one on right) and continue after the last image (Note: Use CSS tag).(4 marks) 3 (a) Explain JavaScript arrays with examples.(8 marks) 3 (b) Write a JavaScript that contains a functions named validate-phoneno, which tests the phone number of the format ddd-dddd-ddddddd < 091 ? 8256 - 1234567 > and display whether the given number is valid or not using alert.(4 marks) 3 (c) Write a note on character and character classes. Describe briefly three major uses of JavaScript on the client side.(8 marks) 4 (a) Explain with example, the different approaches of addressing XHTML, elements in JavaScript.(5 marks) 4 (b) Explain the three phases of event processing in the DOM2 event model.(5 marks) 4 (c) Write a JavaScript which displays the message when the mouse button is pressed no matter where it is on the screen.(5 marks) 4 (d) Explain the different types of positioning, with example.(5 marks) 5 (a) What is the document type definition (DTD)? Describe the approach to declare elements, entities and attributer.(8 marks) 5 (b) Explain the purpose of XML parser.(6 marks) 5 (c) Describe briefly and XML name space. What are the two categories of user defined XML schema data type?(6 marks) 6 (a) Describe with example, the various types of variable in PERL.(8 marks) 6 (b) What is query string? How is it transmitted to the server with the GET and POST methods?(6 marks) 6 (c) Write a CGI program that collects the data from the form and writes it to a file (assume the form data).(6 marks) 7 (a) Discuss arrays in PHP.(8 marks) 7 (b) Explain file operation in PHP.(6 marks) 7 (c) What is cookie and session tracking, how are they handled in PHP.(6 marks) 8 (a) With example, explain simple input and output functions in ruby. Explain code blocks and iterators.(10 marks) 8 (b) Discuss access control in ruby.(5 marks) 8 (c) Write a ruby program to display the second smallest number in the list, along with it position in the list.(5 marks)

Please log in to add an answer.