Wednesday, July 17, 2013

CS9225 WEB TECHNOLOGY Question Paper

M.E. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2010
Second Semester
Computer Science and Engineering
CS 9225 — WEB TECHNOLOGY
(Common to M.E. – Network Engineering)
(Regulation 2009)
Time : Three hours Maximum : 100 Marks
Answer ALL questions
PART A — (10 × 2 = 20 Marks)
1. How does one link external style sheet in a XHTML document?
2. Differentiate HTML from XHTML.
3. What do you mean by host objects?
4. How does one access cookie in a JavaScript?
5. List down the ASP/JSP objects.
6. Compare Servlet and JSP.
7. Define XML namespace.
8. State the purpose of SAX.
9. What are the components required to build web applications?
10. Write down the important features of My SQL.
PART B — (5 × 16 = 80 Marks)

11. (a) Write a CSS rule for a XHTML document that (i) places a background image halfway down the page, tiling it horizontally. The image should remain in place when the user scrolls up or down (ii) displays all links in blue without underlining them, when the mouse hovers the link, change
the link’s background color to yellow. (iii)Validate the style sheet using CSS validator? (6 + 6 + 4)
Or
(b) (i) Design a XHTML document to collect feedback from participants after attending a Technical workshop. (8)
(ii) With an example program illustrate the use of XHTNIL meta elements. (8)

12. (a) Write a JavaScript that receives three integers from the user and find the largest and smallest from them and display the output in XHTML document message box? (16)
Or
(b) Write a JavaScript function calculate Grade ( ) that calculates student grade based on their average of 5 Marks Incorporate the function into a script that reads a value from the user. Display the result of the function in the browser’s status bar. (16)
13. (a) Create an ASP/JSP application that allows the user to customize a Web page. Store the user’s name and preferences in a text file. The application should consist of three ASP/JSP files: one that asks the user to login and reads from the text file to determine if the user is known. If the user is not known, a second ASP/JSP file is loaded asking the user to choose their preference for foreground color, background color and image. Write the new user’s name and preferences to the text file. Next, display the page customized to this user using the user’s preferences that are stored in the text file. If the user is known at login, the normal page should be displayed? (16)
Or
(b) With suitable coding explain how a Servlet is used for server side
programming. (16)
14. (a) Create a XML document for students mark list preparation. Write DTD
for validating the XML file. (16)
Or
(b) Write notes on (i) DOM methods (ii) XML vocabularies. (16)
15. (a) Design an online shopping cart application using JSP or ASP. Consider a
login validation page and one billing page for bill processing. (16)
Or
(b) Design an online book selling application using JSP or ASP. Consider a
login validation page and also a search page for searching a book. (16)


M.E. DEGREE EXAMINATION, JUNE 2010
Second Semester
Computer Science and Engineering
CS9225 — WEB TECHNOLOGY
(Common to M.E. — Network Engineering)
(Regulation 2009)
Time : Three hours Maximum : 100 Marks
Answer ALL Questions
PART A — (10 × 2 = 20 Marks)
1. Define SGML.
2. State the importance of Cascading Style Sheets.
3. List out various client side programming languages.
4. List the applications of DOM.
5. Differentiate static web pages from dynamic web pages.
6. Give any three differences between ASP and JSP.
7. Define JDBC.
8. Write down the advantages of using Xquery.
9. What are cookies?
10. Mention the significance of using PHP.
PART B — (5 × 16 = 80 Marks)
11. (a) Write a XHTML document that shows the results of color survey. It
should contain a form to vote for the favorite colors. It should also contain
a table showing all the colors and the corresponding percentage of votes
for each color. Also embed a style sheet to the document. (16)
Or

(b) Briefly explain any five XHTML controls. Write the procedure to create
and use style sheet for the XHTML web pages. (16)
12. (a) Write a JavaScript that evaluates the strength of the given password.
(Note: the minimum password length is 10 characters, which should
include 3 numeric characters and 2 special characters. If the given
password has failed to have the password strength criteria, then display
‘password strength is weak’ otherwise ‘strong’.) (16)
Or
(b) Explain the components of DOM in detail. (16)
13. (a) (i) Write an application using ASP to automatically rotate the images
in a web page for every 3 seconds. (8)
(ii) Write a JSP application to find the number of page hits on a
particular web page.
(8)
Or
(b) With suitable code snippets explain how cookies are created and sessions
are tracked by Servlet. (16)
14. (a) (i) Write a XML document for displaying user profile (academic and
personal details, etc). (8)
(ii) Write a sample JSP code to illustrate JDBC connection
establishment procedure. (8)
Or
(b) (i) Explain how XML is processed with the help of SAX. (8)
(ii) Briefly explain XML Schema with example. (8)
15. (a) Develop an online shopping application using database. (Note: use any of
the following: Servlets/JSP/ASP). (16)
Or
(b) (i) Write the significance of open source environment. (8)
(ii) Make a comparative study of ASP, JSP, and PHP. (8)

No comments:

Post a Comment