WEB PROGRAMMING, Semester 4, May 2013
GS-7149
(3 Hours)
[Total Marks: 100]
N.B. (1) Question No. 1 is compulsory.
(2) Attempt any four questions out of remaining six questions.
(3) Figures to the right indicate full marks.
1. (a) Write an HTML code to create a form containing dropdown list. The dropdown list contains colors red, green, blue, gray. Write a javascript code to change the background color as soon as the user selects the color from the drop down menu. --- (10 Marks)
(b) What is the need of cookies? How can we cookies be used to set up a counter, which shows number of times the user has visited the page. --- (10 Marks)
2. (a) Explain various session tracking techniques. --- (10 Marks)
(b) Write ASP code to search specific record in a database and display the result. --- (10 Marks)
3. (a) With the help of suitable examples compare and contrast the use of <div> and <span.> --- (10 Marks)
(b) Explain XML attributes and elements. --- (10 Marks)
4. (a) Write ASP code for the following: - --- (10 Marks)
- To find out the various browser types.
- To find out visitors IP address
- To redirect a user to different URL
- To find when the file was last modified.
(b) Differentiate between <table width = “400” height = “200”> and <table width = “100%” height = “50%”.> ---(5 Marks)
(c) Differentiate between GET and POST method. --- (5 Marks)
5. (a) What do you understand by web service? Explain with example. --- (10 Marks)
(b) Explain JDBC API and JDBC drivers in detail. --- (10 marks)
6. (a) Explain life cycle of servlet. Differentiate between JSP and servlet. --- (10 Marks)
(b) What is the need of style sheets? Explain different cascading style sheets with example. --- (10 Marks)
7. Write short notes on: - --- (10 Marks)
(a) Web system architecture
(b) Document type definition
(c) RSS
(d) XSL.
Also see Web programming question papers for May 2012
No comments:
Post a Comment