Friday, April 18, 2014

WEB PROGRAMMING, Semester 4th, May 2010

WEB PROGRAMMING, Semester 4, May 2010
AN-3526
(3 Hours)
[Total Marks: 100]
N.B.: (1) Attempt any five questions.
(2) assume suitable data wherever necessary.
(3) Figures to right indicate full marks.

1. (a) What is CSS? Explain the various ways to add the presentation style to HTML page with the help of suitable examples?---(10 Marks)
(b) With the help of suitable examples compare the use of
and . --- (10 Marks)


2. (a) Create a web page with the functionality of EMI (Equated Monthly Installment) calculate. The page should have four text fields and two buttons named calculate and clear. Out of the four text fields, three are to accept data i.e. principle, interest rate and loan term in number of months, and the fourth one to give out result, the EMI. EMI can be calculated as R=P(r/ (1 – 1/ (1 + r)”)) where R-->EMI; P-->principle; r-->rate of interest and n--->loan terms in months.---(10 Marks)
(b) Construct a form with two text fields: one for user name and one for password when a submit button is clicked. The form is submitted to the echo program if validation is successful. Otherwise, the user is alerted and the form is not submitted. The validation is as follows:---(10 Marks)
  • Both user name and password must be four to eight characters in length.
  • The user name must be composed only of alphanumeric characters (a-z, A-Z, 0-9). The user name must begin with an alphabetic character.
  • The password must adhere to the same constrains as the user name with the exception that it may also contain the underscore and hyphen, but not as the first character.
3. (a) The file called xyz.jsp is available in the document directory of the web server. Explain with the help of diagram the activities take place when the request for the xyz.jpg is made for the first time. --- (10 Marks)

(b)
A table named “Titles’ is available in the database and there are five entries in table write a JSP page to display the table upon requested this JSP page. --- (10 Marks)
Title idTitle namePrice Quantity

4. (a) Explain the various validation controls in ASP.Net. also explain the validation control operation. --- (10 Marks)
(b) Write an ASP page to allow the user to enter his/her age (numeric value between 1 and 99). Apply proper validations and generate required error messages in case the field is mandatory. --- (10 marks)

5. (a) Explain the servlet life cycle in detail. --- (10 Marks)
(b) Write a HTML code which include table, Hyperlink, characters formatting, ordered and unordered list to display your resume. --- (10 marks)

6. (a) What is session management? Explain the various approaches to session management. --- (10 marks)
(b) What are web services? Explain service oriented architecture (SOA). --- (10 Marks)

7. (a) What is web feed (RSS) and how it work? ---(5 Marks)
(b) Explain XSL elements. --- (5 marks)

(c) Differentiate between XML and HTML --- (5 marks)
(d) What do you mean by Rich Internet applications? – (5 marks)

Also see Web programming question papers for December 2013







No comments:

Post a Comment