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

Programming the Web - Dec 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) What is web browser and web server? Explain how communication takes place in between web browser and web server.(7 marks) 1 (b) What is the purpose of MIME type specification in a request / response transaction between a browser and server?(5 marks) 1 (c) Explain how the text content of an XHTML document can be formatted with XHTML tags with suitable example.(8 marks) 2 (a) Which widgets are created with the <input> tag? Explain with examples.(8 marks) 2 (b) Briefly explain the different selector forms of the CSS. Illustrate the use of each with suitable example.(12 marks) 3 (a) Describe briefly the major differences between Java and JavaScript.(4 marks) 3 (b) Describe the two ways an Array object can be created. Explain the Array methods with suitable example for each.(12 marks) 3 (c) Write a JavaScript to generate first 4 Fibonacci numbers.(4 marks) 4 (a) Explain the basic concepts of event handling. List the events and their tag attributes.(12 marks) 4 (b) What is a dynamic XHTML document? How positioning and moving of elements are done in dynamic XHTML?(8 marks) 5 (a) Explain the four possible keywords used in a DTD declaration.(10 marks) 5 (b) Create a DTD for catalog of cars, where each car has the child elements make, model, year, color, engine, number-of-doors, transmission type, and accessories. The engine element has the child elements number of cylinder and fuel system. The accessories element has the attributes radio, air-conditioning, power-windows and power-brakes, each of which is required and has the possible value yes and no. Entities must be declared for the names of popular car makes.(10 marks) 6 (a) Briefly describe string functions of perl with suitable example.(5 marks) 6 (b) Write a perl program to read three numbers a, b and c, each on its own line, from the keyboard, and return the value of the expression load -[[c-1] / 17.44](6 marks) 6 (c) What is a query string? What is the format of a query string that has multiple widget data values? How is a query string transmitted to the server with get method?(9 marks) 7 (a) Explain the actions of the implode and explode functions.(3 marks) 7 (b) Describe how file are created, read and write on the server system using PHP.(12 marks) 7 (c) What is cookie? How it can be created in a PHP script?(3 marks) 8 (a) Ruby(5 marks) 8 (b) Rails(5 marks) 8 (c) Data access with Perl and MYSQL.(5 marks) 8 (d) Document object model(5 marks)

ADD COMMENTlink
written 20 months ago by gravatar for Team Ques10 Team Ques10 ♦♦ 400
Please log in to add an answer.